summaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-14 13:22:06 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-14 13:22:06 -0800
commit52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c (patch)
treec7e03de546e1573f74ee6bf5343b7402d1db8620 /resolv
parent63ee841069628f4af58f7e3c27ac17c7ae711c43 (diff)
Relax visibility of some more declaration.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index d72048cb4c..7671c6aca5 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -53,7 +53,7 @@
__BEGIN_DECLS
-#if defined __USE_MISC || defined __USE_GNU || !defined __USE_XOPEN2K8
+#if defined __USE_MISC || !defined __USE_XOPEN2K8
/* Error status for non-reentrant lookup functions.
We use a macro to access always the thread-specific `h_errno' variable. */
# define h_errno (*__h_errno_location ())
@@ -87,7 +87,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
# define SCOPE_DELIMITER '%'
#endif
-#if defined __USE_MISC || defined __USE_GNU
+#ifdef __USE_MISC
/* Print error indicated by `h_errno' variable on standard error. STR
if non-null is printed before the error string. */
extern void herror (__const char *__str) __THROW;