diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ChangeLog | 5 | ||||
-rw-r--r-- | src/include/fake-addrinfo.h | 16 |
2 files changed, 5 insertions, 16 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d11197a7b5..7b7b6e75ba 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2002-09-03 Ken Raeburn <raeburn@mit.edu> + + * fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate + declarations. + 2002-09-03 Ezra Peisach <epeisach@bu.edu> * 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 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; |