diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 09:28:20 +0000 |
commit | 075530a6850ebf899e8874d7675fd900577c9554 (patch) | |
tree | 45dd63e7b9262c43ebd8ef19b0057a150d1e3eb5 /include/ruby/intern.h | |
parent | 1b039e2a922db417e7fd7e5175476497fb083e7e (diff) | |
download | ruby-075530a6850ebf899e8874d7675fd900577c9554.tar.gz |
* suppress warnings with -Wwrite-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index b95f2d02d3..7de34b1e8d 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -583,7 +583,7 @@ VALUE rb_struct_iv_get(VALUE, const char*); VALUE rb_struct_s_members(VALUE); VALUE rb_struct_members(VALUE); VALUE rb_struct_alloc_noinit(VALUE); -VALUE rb_struct_define_without_accessor(char *, VALUE, rb_alloc_func_t, ...); +VALUE rb_struct_define_without_accessor(const char *, VALUE, rb_alloc_func_t, ...); /* thread.c */ typedef void rb_unblock_function_t(void *); typedef VALUE rb_blocking_function_t(void *); |