summaryrefslogtreecommitdiff
path: root/ruby.c
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
commitadac65af9391f56e964066310ff1d61f65dccc8e (patch)
tree911d5dd077da2c517f4ce45addfedb9731807ffe /ruby.c
parentf30049f4ab8748e0d2f31b93f35110ceb6613dc1 (diff)
* gc.c (define_final): should not disclose NODE* to Ruby world.
[ruby-dev:23957] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby.c b/ruby.c
index f96a0b4..f411960 100644
--- a/ruby.c
+++ b/ruby.c
@@ -55,7 +55,7 @@ extern int ruby_yydebug;
char *ruby_inplace_mode = Qfalse;
static void load_stdin _((void));
-static void load_file _((char *, int));
+static void load_file _((const char *, int));
static void forbid_setid _((const char *));
static VALUE do_loop = Qfalse, do_print = Qfalse;
@@ -795,7 +795,7 @@ extern int ruby__end__seen;
static void
load_file(fname, script)
- char *fname;
+ const char *fname;
int script;
{
extern VALUE rb_stdin;
@@ -918,7 +918,7 @@ load_file(fname, script)
void
rb_load_file(fname)
- char *fname;
+ const char *fname;
{
load_file(fname, 0);
}
@@ -1004,7 +1004,7 @@ set_arg0(val, id)
void
ruby_script(name)
- char *name;
+ const char *name;
{
if (name) {
rb_progname = rb_tainted_str_new2(name);