diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-28 14:40:25 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-28 14:40:25 +0000 |
| commit | c9973228854c96058060e8e8692ae91f4c88f441 (patch) | |
| tree | ae37541f7a1e51228f3169ebffc3fe17d415d5f9 /file.c | |
| parent | 15562e89c0db92087a4e3310c162f91c35ebce94 (diff) | |
| download | ruby-c9973228854c96058060e8e8692ae91f4c88f441.tar.gz ruby-c9973228854c96058060e8e8692ae91f4c88f441.tar.xz ruby-c9973228854c96058060e8e8692ae91f4c88f441.zip | |
* file.c (rb_stat_inspect): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
| -rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -542,8 +542,8 @@ rb_stat_inspect(VALUE self) { VALUE str; int i; - static struct { - char *name; + static const struct { + const char *name; VALUE (*func)(VALUE); } member[] = { {"dev", rb_stat_dev}, |
