]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
resolv: Remove __BIND_NOSTATIC conditionals
authorFlorian Weimer <fweimer@redhat.com>
Thu, 28 Apr 2016 09:53:00 +0000 (11:53 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 28 Apr 2016 11:56:38 +0000 (13:56 +0200)
The macro is never defined.

ChangeLog
resolv/res_data.c
resolv/resolv.h

index e5cf1d0df623d70a1689886efc0328cc993d89e7..61c16b391128d61ffc35f7913f7f94bdbf507704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-28  Florian Weimer  <fweimer@redhat.com>
+
+       * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
+       * resolv/res_data.c: Likewise.
+
 2016-04-28  Florian Weimer  <fweimer@redhat.com>
 
        * resolv/res_comp.c: Remove code conditional on __ultrix__.
index 7e848e0945db79217b337bc66ebb7630efb63b47..f44c517062d9b35f828611eab9e7203319aae23f 100644 (file)
@@ -52,7 +52,6 @@ const char *_res_opcodes[] = {
 };
 libresolv_hidden_data_def (_res_opcodes)
 
-#ifndef __BIND_NOSTATIC
 void
 p_query(const u_char *msg) {
        fp_query(msg, stdout);
@@ -186,7 +185,6 @@ hostalias(const char *name) {
 }
 libresolv_hidden_def (hostalias)
 
-#endif
 \f
 
 #include <shlib-compat.h>
index 53c3bba182be49ba0a2372ffba7920c016029ecd..f55e7ceabadd11279d69708df3ac37233706d7d1 100644 (file)
@@ -250,7 +250,6 @@ extern struct __res_state *__res_state(void) __attribute__ ((__const__));
 __END_DECLS
 #define _res (*__res_state())
 
-#ifndef __BIND_NOSTATIC
 #define fp_nquery              __fp_nquery
 #define fp_query               __fp_query
 #define hostalias              __hostalias
@@ -280,7 +279,6 @@ int         res_querydomain (const char *, const char *, int, int,
 int            res_search (const char *, int, int, u_char *, int) __THROW;
 int            res_send (const u_char *, int, u_char *, int) __THROW;
 __END_DECLS
-#endif
 
 #define b64_ntop               __b64_ntop
 #define b64_pton               __b64_pton