diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-20 06:35:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-20 06:35:37 +0000 |
commit | 0eb1a2ff6dc8e6f7adb0d56a114eaacc40d8fa50 (patch) | |
tree | b70430e16ef39c7c35d23ec5e98bfc0300147b7b /io.c | |
parent | 4fd111f0c131d02187f75793de04e2cbc6fd0be3 (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/trunk@2104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -284,7 +284,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; { @@ -2153,7 +2153,7 @@ rb_io_clone(io) return clone; } -static VALUE +VALUE rb_io_printf(argc, argv, out) int argc; VALUE argv[]; @@ -2184,7 +2184,7 @@ rb_f_printf(argc, argv) return Qnil; } -static VALUE +VALUE rb_io_print(argc, argv, out) int argc; VALUE *argv; @@ -2262,8 +2262,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; @@ -2281,7 +2279,7 @@ io_puts_ary(ary, out) return Qnil; } -static VALUE +VALUE rb_io_puts(argc, argv, out) int argc; VALUE *argv; |