]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove unused function system_getnameinfo()
authorRobbie Harwood <rharwood@redhat.com>
Thu, 16 Feb 2017 22:08:49 +0000 (17:08 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 12 Apr 2017 15:59:40 +0000 (11:59 -0400)
src/util/support/fake-addrinfo.c

index df1cc1dec5587ef24cd7e20e988e6ba005ebb6c6..b71cff9a791989a469d074b5c32f05403f03710d 100644 (file)
@@ -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)