summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-20 06:35:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-20 06:35:37 +0000
commit1bba12a89018ab1d8f5ce13b627b9a08b00ea789 (patch)
tree733e8f13afc84001cabe9a9ad64ba2cda53e0ce3 /io.c
parent22768f9aefdb5e7a466bfd4e63dbfdf2bc5184b8 (diff)
* intern.h: prototypes; rb_io_addstr(), rb_io_printf(),
rb_io_print(), rb_io_puts() * io.c (rb_io_addstr): make extern. * io.c (rb_io_printf): ditto. * io.c (rb_io_print): ditto. * io.c (rb_io_puts): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/io.c b/io.c
index 8bd8603c66..adcb0eb9d0 100644
--- a/io.c
+++ b/io.c
@@ -272,7 +272,7 @@ rb_io_write(io, str)
return rb_funcall(io, id_write, 1, str);
}
-static VALUE
+VALUE
rb_io_addstr(io, str)
VALUE io, str;
{
@@ -1994,7 +1994,7 @@ rb_io_clone(io)
return (VALUE)clone;
}
-static VALUE
+VALUE
rb_io_printf(argc, argv, out)
int argc;
VALUE argv[];
@@ -2025,7 +2025,7 @@ rb_f_printf(argc, argv)
return Qnil;
}
-static VALUE
+VALUE
rb_io_print(argc, argv, out)
int argc;
VALUE *argv;
@@ -2098,8 +2098,6 @@ rb_f_putc(recv, ch)
return rb_io_putc(rb_defout, ch);
}
-static VALUE rb_io_puts _((int, VALUE*, VALUE));
-
static VALUE
io_puts_ary(ary, out)
VALUE ary, out;
@@ -2117,7 +2115,7 @@ io_puts_ary(ary, out)
return Qnil;
}
-static VALUE
+VALUE
rb_io_puts(argc, argv, out)
int argc;
VALUE *argv;