about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/Versions11
-rw-r--r--resolv/res_hconf.c4
2 files changed, 1 insertions, 14 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 4b2e5e9dbc..93faf1e2f5 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -2,11 +2,6 @@
 
 libc {
   GLIBC_2.0 {
-%if !HAVE___THREAD
-    # global variables
-    _h_errno;
-%endif
-
     _res;
 
     # helper functions
@@ -17,9 +12,6 @@ libc {
 
     # variables in normal name space
     h_errlist; h_nerr;
-%if !HAVE___THREAD
-    h_errno;
-%endif
 
     # h*
     herror; hstrerror;
@@ -34,10 +26,7 @@ libc {
   GLIBC_PRIVATE {
     __gai_sigqueue;
 
-%if HAVE___THREAD
-    # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
     h_errno; __resp;
-%endif
 
     __res_maybe_init; __res_iclose;
   }
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c
index fc4b83f7c3..7b167bb3bf 100644
--- a/resolv/res_hconf.c
+++ b/resolv/res_hconf.c
@@ -46,9 +46,7 @@
 #include <bits/libc-lock.h>
 #include "ifreq.h"
 #include "res_hconf.h"
-#ifdef USE_IN_LIBIO
-# include <wchar.h>
-#endif
+#include <wchar.h>
 
 #define _PATH_HOSTCONF	"/etc/host.conf"