summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 14:40:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 14:40:25 +0000
commitc9973228854c96058060e8e8692ae91f4c88f441 (patch)
treeae37541f7a1e51228f3169ebffc3fe17d415d5f9 /file.c
parent15562e89c0db92087a4e3310c162f91c35ebce94 (diff)
downloadruby-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index ef7356b41..e769f0980 100644
--- a/file.c
+++ b/file.c
@@ -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},