summaryrefslogtreecommitdiff
path: root/ext/socket/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/init.c')
-rw-r--r--ext/socket/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/init.c b/ext/socket/init.c
index 8df1aee9bf..0a2365850f 100644
--- a/ext/socket/init.c
+++ b/ext/socket/init.c
@@ -531,12 +531,12 @@ rsock_getfamily(int sockfd)
return ss.ss_family;
}
-/*
- * SocketError is the error class for socket.
- */
void
rsock_init_socket_init()
{
+ /*
+ * SocketError is the error class for socket.
+ */
rb_eSocket = rb_define_class("SocketError", rb_eStandardError);
rsock_init_ipsocket();
rsock_init_tcpsocket();