diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/getaddrinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/socket/getaddrinfo.c b/ext/socket/getaddrinfo.c index 5a3c1377f4..49fdf9b597 100644 --- a/ext/socket/getaddrinfo.c +++ b/ext/socket/getaddrinfo.c @@ -207,7 +207,6 @@ gai_strerror(int ecode) void freeaddrinfo(struct addrinfo *ai) - struct addrinfo *ai; { struct addrinfo *next; @@ -530,7 +529,7 @@ getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *h } static int -get_name(const char *addr, const struct aft *afd, struct addrinfo **res, char *numaddr, struct addrinfo *pai, int port0) +get_name(const char *addr, const struct afd *afd, struct addrinfo **res, char *numaddr, struct addrinfo *pai, int port0) { u_short port = port0 & 0xffff; struct hostent *hp; |