aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index 4be651f7c6..dde8b416f2 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -666,7 +666,7 @@ sockopt_unpack(VALUE self, VALUE template)
* It contains socket family, protocol level, option name and option value.
*/
void
-Init_sockopt(void)
+rsock_init_sockopt(void)
{
rb_cSockOpt = rb_define_class_under(rb_cSocket, "Option", rb_cObject);
rb_define_method(rb_cSockOpt, "initialize", sockopt_initialize, 4);