summaryrefslogtreecommitdiff
path: root/ext/socket/tcpserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/tcpserver.c')
-rw-r--r--ext/socket/tcpserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/tcpserver.c b/ext/socket/tcpserver.c
index bd5701f..faa5ad5 100644
--- a/ext/socket/tcpserver.c
+++ b/ext/socket/tcpserver.c
@@ -134,7 +134,7 @@ tcp_sysaccept(VALUE sock)
* TCPServer represents a TCP/IP server socket.
*/
void
-Init_tcpserver(void)
+rsock_init_tcpserver(void)
{
rb_cTCPServer = rb_define_class("TCPServer", rb_cTCPSocket);
rb_define_method(rb_cTCPServer, "accept", tcp_accept, 0);