summaryrefslogtreecommitdiff
path: root/ext/socket/init.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-01 11:58:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-01 11:58:13 +0000
commitaa2b22bba288a06b8faea3180613e896a8b3f084 (patch)
tree26234ff2f1921c4913485fd9e21744be22646191 /ext/socket/init.c
parent895b3f6e06be7d9fdbb6711170889559260105a3 (diff)
* ext/socket/ (rsock_getfamily): renamed from rb_sock_getfamily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/init.c')
-rw-r--r--ext/socket/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/socket/init.c b/ext/socket/init.c
index c1caf2f..5046be8 100644
--- a/ext/socket/init.c
+++ b/ext/socket/init.c
@@ -526,7 +526,8 @@ rsock_s_accept(VALUE klass, int fd, struct sockaddr *sockaddr, socklen_t *len)
return rsock_init_sock(rb_obj_alloc(klass), fd2);
}
-int rb_sock_getfamily(int sockfd)
+int
+rsock_getfamily(int sockfd)
{
struct sockaddr_storage ss;
socklen_t sslen = sizeof(ss);