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:
@ -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;
|
||||
}
|
||||
|
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user