1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Cleanup of configuration options

Make several tool features mandatory and simplify the code.
This commit is contained in:
Ulrich Drepper
2011-09-10 14:34:15 -04:00
parent 1248c1c415
commit 3ce1f29594
84 changed files with 468 additions and 797 deletions

View File

@ -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;
}

View File

@ -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"