From 00388b15e6e8279c0d0baa657f1f9a3c251d405f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 3 Sep 2002 22:10:47 +0000 Subject: [PATCH] * fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate declarations git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14823 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/fake-addrinfo.h | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d11197a7b..7b7b6e75b 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2002-09-03 Ken Raeburn + + * fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate + declarations. + 2002-09-03 Ezra Peisach * configure.in: Use AH_TEMPLATE to put undefined definition of diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 8d80b5b32..30c73005b 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -740,20 +740,6 @@ int getnameinfo (const struct sockaddr *sa, socklen_t len, #endif /* NEED_FAKE_GETADDRINFO */ -#if defined (WRAP_GETADDRINFO) || defined (WRAP_GETNAMEINFO) -/* These variables will contain pointers to the system versions. They - have to be initialized at the end, because the way we initialize - them (for UNIX) is #undef and a reference to the C library symbol - name. */ -static int (*const gaiptr) (const char *, const char *, - const struct addrinfo *, - struct addrinfo **); -static void (*const faiptr) (struct addrinfo *); -#ifdef WRAP_GETNAMEINFO -static int (*const gniptr) (const struct sockaddr *, socklen_t, - char *, socklen_t, char *, socklen_t, int); -#endif - #ifdef WRAP_GETADDRINFO static inline @@ -910,8 +896,6 @@ int getnameinfo (const struct sockaddr *sa, socklen_t len, } #endif /* WRAP_GETNAMEINFO */ -#endif /* WRAP_GETADDRINFO || WRAP_GETNAMEINFO */ - #if defined(KRB5_USE_INET6) && defined(NEED_INSIXADDR_ANY) /* If compiling with IPv6 support and C library does not define in6addr_any */ static const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; -- 2.26.2