summaryrefslogtreecommitdiffstats
path: root/intern.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-23 07:52:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-23 07:52:38 +0000
commitfa0053812ac44024ea9a6cedeb70b5535868d191 (patch)
tree2fa3966a581fc9b57e35af22e41cbc04362be7bc /intern.h
parent29cdaacd1546c3dac74453033c845a183f37410a (diff)
downloadruby-fa0053812ac44024ea9a6cedeb70b5535868d191.tar.gz
ruby-fa0053812ac44024ea9a6cedeb70b5535868d191.tar.xz
ruby-fa0053812ac44024ea9a6cedeb70b5535868d191.zip
* gc.c (define_final): should not disclose NODE* to Ruby world.
[ruby-dev:23957] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern.h b/intern.h
index 88a5b8cb8..77f60e100 100644
--- a/intern.h
+++ b/intern.h
@@ -143,8 +143,8 @@ NORETURN(void rb_name_error __((ID, const char*, ...)));
NORETURN(void rb_invalid_str _((const char*, const char*)));
void rb_compile_error __((const char*, ...));
void rb_compile_error_append __((const char*, ...));
-NORETURN(void rb_load_fail _((char*)));
-NORETURN(void rb_error_frozen _((char*)));
+NORETURN(void rb_load_fail _((const char*)));
+NORETURN(void rb_error_frozen _((const char*)));
void rb_check_frozen _((VALUE));
/* eval.c */
RUBY_EXTERN struct RNode *ruby_current_node;
@@ -381,8 +381,8 @@ const char* rb_get_kcode _((void));
/* ruby.c */
RUBY_EXTERN VALUE rb_argv;
RUBY_EXTERN VALUE rb_argv0;
-void rb_load_file _((char*));
-void ruby_script _((char*));
+void rb_load_file _((const char*));
+void ruby_script _((const char*));
void ruby_prog_init _((void));
void ruby_set_argv _((int, char**));
void ruby_process_options _((int, char**));