summaryrefslogtreecommitdiffstats
path: root/src/include/fake-addrinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/fake-addrinfo.h')
-rw-r--r--src/include/fake-addrinfo.h16
1 files changed, 0 insertions, 16 deletions
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;