summaryrefslogtreecommitdiff
path: root/ext/socket/ipsocket.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-22 16:15:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-22 16:15:21 +0000
commita4fa54a10a38bf7fe0d76f1b6822f1ea35d31dd8 (patch)
tree114ed903a08d12ce783c4a7e42161466b3367104 /ext/socket/ipsocket.c
parent91533255f89e4e8529b2a4b59902aecc4a6c4bba (diff)
* ext/socket: use rsock_ prefix for internal initialization functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/ipsocket.c')
-rw-r--r--ext/socket/ipsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/ipsocket.c b/ext/socket/ipsocket.c
index c1f329b..447ae40 100644
--- a/ext/socket/ipsocket.c
+++ b/ext/socket/ipsocket.c
@@ -289,7 +289,7 @@ ip_s_getaddress(VALUE obj, VALUE host)
* IPSocket is the super class of TCPSocket and UDPSocket.
*/
void
-Init_ipsocket(void)
+rsock_init_ipsocket(void)
{
rb_cIPSocket = rb_define_class("IPSocket", rb_cBasicSocket);
rb_define_method(rb_cIPSocket, "addr", ip_addr, -1);