public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH COMMITTED] resolv: Remove __BIND_NOSTATIC conditionals
@ 2016-04-28 12:09 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2016-04-28 12:09 UTC (permalink / raw)
  To: libc-alpha


2016-04-28  Florian Weimer  <fweimer@redhat.com>

	* resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
	* resolv/res_data.c: Likewise.

diff --git a/resolv/res_data.c b/resolv/res_data.c
index 7e848e0..f44c517 100644
--- a/resolv/res_data.c
+++ b/resolv/res_data.c
@@ -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>
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 53c3bba..f55e7ce 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-28 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-28 12:09 [PATCH COMMITTED] resolv: Remove __BIND_NOSTATIC conditionals Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).