krb5 commit: Remove unused function system_getnameinfo()

Greg Hudson ghudson at mit.edu
Fri Apr 14 12:14:33 EDT 2017


https://github.com/krb5/krb5/commit/67a38f8d8ddfdd6a1a5159a62210f3cbd89262a6
commit 67a38f8d8ddfdd6a1a5159a62210f3cbd89262a6
Author: Robbie Harwood <rharwood at redhat.com>
Date:   Thu Feb 16 17:08:49 2017 -0500

    Remove unused function system_getnameinfo()

 src/util/support/fake-addrinfo.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c
index df1cc1d..b71cff9 100644
--- a/src/util/support/fake-addrinfo.c
+++ b/src/util/support/fake-addrinfo.c
@@ -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)


More information about the cvs-krb5 mailing list