summaryrefslogtreecommitdiff
path: root/ext/socket/init.c
diff options
context:
space:
mode:
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);