diff options
Diffstat (limited to 'constant.h')
-rw-r--r-- | constant.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/constant.h b/constant.h index 153654604b..77dd696b7e 100644 --- a/constant.h +++ b/constant.h @@ -23,8 +23,8 @@ typedef struct rb_const_entry_struct { const VALUE file; /* should be mark */ } rb_const_entry_t; -VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); -VALUE rb_mod_public_constant(int argc, VALUE *argv, VALUE obj); +VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj); +VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj); void rb_free_const_table(st_table *tbl); VALUE rb_public_const_get(VALUE klass, ID id); VALUE rb_public_const_get_at(VALUE klass, ID id); |