summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 22:31:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 22:31:07 +0000
commit0530ceb2b964e974ad7e25dd041b54a3ef577677 (patch)
tree0ee0ed7f4c7d2df2ff1a2a4f7519bec2225c95aa /file.c
parenta09435ec209eba2111f6cad6a191b2b0a43d4e30 (diff)
* file.c (rb_find_file_ext): add const qualifiers to ext.
* intern.h (rb_find_file_ext): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 2c14d8f..a54f172 100644
--- a/file.c
+++ b/file.c
@@ -2286,7 +2286,7 @@ extern VALUE rb_load_path;
int
rb_find_file_ext(filep, ext)
VALUE *filep;
- char **ext;
+ const char *const *ext;
{
char *path, *e, *found;
char *f = RSTRING(*filep)->ptr;