From 00388b15e6e8279c0d0baa657f1f9a3c251d405f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 3 Sep 2002 22:10:47 +0000 Subject: * 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/fake-addrinfo.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/include/fake-addrinfo.h') diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 8d80b5b329..30c73005bc 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; -- cgit