summaryrefslogtreecommitdiffstats
path: root/src/include/fake-addrinfo.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-09-03 22:10:47 +0000
committerKen Raeburn <raeburn@mit.edu>2002-09-03 22:10:47 +0000
commit00388b15e6e8279c0d0baa657f1f9a3c251d405f (patch)
treec53bccc4342c4742cc8ee57c54c21ae961c973af /src/include/fake-addrinfo.h
parent275acfe3bb1535e07424e3ee968295f31f6242bb (diff)
downloadkrb5-00388b15e6e8279c0d0baa657f1f9a3c251d405f.tar.gz
krb5-00388b15e6e8279c0d0baa657f1f9a3c251d405f.tar.xz
krb5-00388b15e6e8279c0d0baa657f1f9a3c251d405f.zip
* fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate declarations
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14823 dc483132-0cff-0310-8789-dd5450dbe970
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;