]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup getaddrinfo compat.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 10 Nov 2008 08:04:22 +0000 (08:04 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 10 Nov 2008 08:04:22 +0000 (08:04 +0000)
git-svn-id: file:///svn/unbound/trunk@1341 be551aaa-1e26-0410-a405-d3ace91eadb9

compat/fake-rfc2553.h
config.h.in
configure.ac
doc/Changelog

index 3d30cf767c505bedb1ae8b080e39846200d50d24..466c0e663dd5f7b9cd6f5f24b87a96cb0e480874 100644 (file)
@@ -149,23 +149,23 @@ struct addrinfo {
 #ifdef getaddrinfo
 # undef getaddrinfo
 #endif
-#define getaddrinfo(a,b,c,d)   (ssh_getaddrinfo(a,b,c,d))
+#define getaddrinfo(a,b,c,d)   (getaddrinfo_unbound(a,b,c,d))
 int getaddrinfo(const char *, const char *, 
     const struct addrinfo *, struct addrinfo **);
 #endif /* !HAVE_GETADDRINFO */
 
 #if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO)
-#define gai_strerror(a)                (ssh_gai_strerror(a))
+#define gai_strerror(a)                (gai_strerror_unbound(a))
 char *gai_strerror(int);
 #endif /* !HAVE_GAI_STRERROR */
 
 #ifndef HAVE_FREEADDRINFO
-#define freeaddrinfo(a)                (ssh_freeaddrinfo(a))
+#define freeaddrinfo(a)                (freeaddrinfo_unbound(a))
 void freeaddrinfo(struct addrinfo *);
 #endif /* !HAVE_FREEADDRINFO */
 
 #ifndef HAVE_GETNAMEINFO
-#define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g))
+#define getnameinfo(a,b,c,d,e,f,g) (getnameinfo_unbound(a,b,c,d,e,f,g))
 int getnameinfo(const struct sockaddr *, size_t, char *, size_t, 
     char *, size_t, int);
 #endif /* !HAVE_GETNAMEINFO */
index 973856ac0e6e08800fb1022d3b7849fa3e20c2e6..24ce31bd81cd2094cf4e7e0e5fdee13aa976b89e 100644 (file)
@@ -558,10 +558,6 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
 struct tm *gmtime_r(const time_t *timep, struct tm *result);
 #endif
 #ifndef HAVE_GETADDRINFO
-#define getaddrinfo getaddrinfo_unbound
-#define gai_strerror gai_strerror_unbound
-#define freeaddrinfo freeaddrinfo_unbound
-#define getnameinfo getnameinfo_unbound
 struct sockaddr_storage;
 #include "compat/fake-rfc2553.h"
 #endif
index b76245c50e44171ebd88c7ed320a800e0dc7c44c..8679c66186c3b08139bc3909175aace9267fab6f 100644 (file)
@@ -1164,10 +1164,6 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
 struct tm *gmtime_r(const time_t *timep, struct tm *result);
 #endif
 #ifndef HAVE_GETADDRINFO
-#define getaddrinfo getaddrinfo_unbound
-#define gai_strerror gai_strerror_unbound
-#define freeaddrinfo freeaddrinfo_unbound
-#define getnameinfo getnameinfo_unbound
 struct sockaddr_storage;
 #include "compat/fake-rfc2553.h"
 #endif
index c9fb279b3ef5110014339462aee038843418d1bc..37c2157db9009f7c9c7b4d6848395fc473d194af 100644 (file)
@@ -1,3 +1,6 @@
+10 November 2008: Wouter
+       - fixup the getaddrinfo compat code rename.
+
 8 November 2008: Wouter
        - added configure check for eee build warning.