diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 05:11:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 05:11:59 +0000 |
commit | 9483ac0b326fbb63163819e77b28044023fb147f (patch) | |
tree | cdf49307e8b00ff10fbbf0085f2b168fd8dcc914 /io.c | |
parent | 27a8e39fe2a2c6cc48077c49d9210bc779381a6b (diff) | |
download | ruby-9483ac0b326fbb63163819e77b28044023fb147f.tar.gz ruby-9483ac0b326fbb63163819e77b28044023fb147f.tar.xz ruby-9483ac0b326fbb63163819e77b28044023fb147f.zip |
* io.c (io_encoding_set): missing return type.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1360,7 +1360,8 @@ read_all(rb_io_t *fptr, long siz, VALUE str) return io_enc_str(str, fptr); } -void rb_io_set_nonblock(rb_io_t *fptr) +void +rb_io_set_nonblock(rb_io_t *fptr) { int flags; #ifdef F_GETFL @@ -5605,6 +5606,7 @@ io_new_instance(VALUE args) return rb_class_new_instance(2, (VALUE*)args+1, *(VALUE*)args); } +static void io_encoding_set(rb_io_t *fptr, int argc, VALUE v1, VALUE v2) { if (argc == 2) { |