diff options
author | Eric Wong <e@yhbt.net> | 2010-10-07 07:14:07 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2010-10-07 07:14:07 +0000 |
commit | 03344bb763f5269afe7fafd56a47270719c7ef9e (patch) | |
tree | c229ece148978db25d74655917f70acfabc0642e /ext/kgio/accept.c | |
parent | 637317eb479525dca543eda7a8977410bc43b832 (diff) | |
download | kgio-03344bb763f5269afe7fafd56a47270719c7ef9e.tar.gz |
Oops, completely broken by the splitting of the code.
Diffstat (limited to 'ext/kgio/accept.c')
-rw-r--r-- | ext/kgio/accept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c index 5ee3313..00a6563 100644 --- a/ext/kgio/accept.c +++ b/ext/kgio/accept.c @@ -341,9 +341,10 @@ static VALUE set_nonblock(VALUE mod, VALUE boolean) return Qnil; } -void init_kgio_accept(VALUE mKgio) +void init_kgio_accept(void) { VALUE cUNIXServer, cTCPServer; + VALUE mKgio = rb_define_module("Kgio"); localhost = rb_const_get(mKgio, rb_intern("LOCALHOST")); cKgio_Socket = rb_const_get(mKgio, rb_intern("Socket")); |