aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
commit3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch)
treedb47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /resolv
parent1248c1c41508387ff282b208636737e8cdc9b5b0 (diff)
downloadglibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.zip
glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.gz
glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.bz2
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
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 4b2e5e9..93faf1e 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 fc4b83f..7b167bb 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"