Skip to content

Commit

Permalink
Remove unused function system_getnameinfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
frozencemetery authored and greghudson committed Apr 12, 2017
1 parent ff6aac3 commit 67a38f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/util/support/fake-addrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,18 +331,6 @@ system_freeaddrinfo (struct addrinfo *ai)
freeaddrinfo(ai);
}

/* Note: Implementations written to RFC 2133 use size_t, while RFC
2553 implementations use socklen_t, for the second parameter.
Mac OS X (10.2) and AIX 4.3.3 appear to be in the RFC 2133 camp,
but we don't have an autoconf test for that right now. */
static inline int
system_getnameinfo (const struct sockaddr *sa, socklen_t salen,
char *host, size_t hostlen, char *serv, size_t servlen,
int flags)
{
return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
}
#endif

#if !defined (HAVE_GETADDRINFO) || defined(WRAP_GETADDRINFO) || defined(FAI_CACHE)
Expand Down

0 comments on commit 67a38f8

Please sign in to comment.