summaryrefslogtreecommitdiff
path: root/ext/socket/unixsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/unixsocket.c')
-rw-r--r--ext/socket/unixsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c
index 8eca0d5..907f89c 100644
--- a/ext/socket/unixsocket.c
+++ b/ext/socket/unixsocket.c
@@ -490,7 +490,7 @@ unix_s_socketpair(int argc, VALUE *argv, VALUE klass)
* UNIXSocket represents a UNIX domain stream client socket.
*/
void
-Init_unixsocket(void)
+rsock_init_unixsocket(void)
{
#ifdef HAVE_SYS_UN_H
rb_cUNIXSocket = rb_define_class("UNIXSocket", rb_cBasicSocket);