diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 05:25:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 05:25:32 +0000 |
commit | 28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (patch) | |
tree | 0089b9a1bce84d5ec72badeae44b4e08f08a9c33 /ext/io/wait | |
parent | cf5450bb7c86c4eb83f0d468c73d987e4a3e7344 (diff) | |
download | ruby-28b9f11d5a4b878adb50a3e5472ceea8c462ed4a.tar.gz |
protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/wait')
-rw-r--r-- | ext/io/wait/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c index d8bb55fc47..7e17cb2e89 100644 --- a/ext/io/wait/wait.c +++ b/ext/io/wait/wait.c @@ -177,7 +177,7 @@ io_wait_writable(int argc, VALUE *argv, VALUE io) */ void -Init_wait() +Init_wait(void) { rb_define_method(rb_cIO, "nread", io_nread, 0); rb_define_method(rb_cIO, "ready?", io_ready_p, 0); |