mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Move 'networks' routines from 'inet' into 'nss'
The getnetby* and getnetent* routines are entry points for nss functionality. This commit moves them from the 'inet' subdirectory to 'nss'. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
3f7c7ac887
commit
5a6e784e64
@ -48,12 +48,6 @@ routines := \
|
||||
ether_ntoa_r \
|
||||
getipv4sourcefilter \
|
||||
getnameinfo \
|
||||
getnetbyad \
|
||||
getnetbyad_r \
|
||||
getnetbynm \
|
||||
getnetbynm_r \
|
||||
getnetent \
|
||||
getnetent_r \
|
||||
getproto \
|
||||
getproto_r \
|
||||
getprtent \
|
||||
@ -144,12 +138,6 @@ include ../gen-locales.mk
|
||||
ifeq ($(have-thread-library),yes)
|
||||
|
||||
CFLAGS-rcmd.c += -fexceptions
|
||||
CFLAGS-getnetbynm_r.c += -fexceptions
|
||||
CFLAGS-getnetbynm.c += -fexceptions
|
||||
CFLAGS-getnetbyad_r.c += -fexceptions
|
||||
CFLAGS-getnetbyad.c += -fexceptions
|
||||
CFLAGS-getnetent_r.c += -fexceptions
|
||||
CFLAGS-getnetent.c += -fexceptions
|
||||
CFLAGS-getrpcent_r.c += -fexceptions
|
||||
CFLAGS-getrpcent.c += -fexceptions
|
||||
CFLAGS-getservent_r.c += -fexceptions
|
||||
|
@ -14,8 +14,7 @@ libc {
|
||||
ether_ntoa_r;
|
||||
|
||||
# g*
|
||||
getdomainname; getnetbyaddr; getnetbyaddr_r; getnetbyname;
|
||||
getnetbyname_r; getnetent; getnetent_r;
|
||||
getdomainname;
|
||||
getprotobyname; getprotobyname_r; getprotobynumber;
|
||||
getprotobynumber_r; getprotoent; getprotoent_r;
|
||||
getservbyname; getservbyname_r; getservbyport;
|
||||
|
19
nss/Makefile
19
nss/Makefile
@ -159,6 +159,25 @@ CFLAGS-getnetgrent.c += -fexceptions
|
||||
CFLAGS-getnetgrent_r.c += -fexceptions
|
||||
endif
|
||||
|
||||
# networks routines:
|
||||
routines += \
|
||||
getnetbyad \
|
||||
getnetbyad_r \
|
||||
getnetbynm \
|
||||
getnetbynm_r \
|
||||
getnetent \
|
||||
getnetent_r \
|
||||
# routines
|
||||
|
||||
ifeq ($(have-thread-library),yes)
|
||||
CFLAGS-getnetbyad.c += -fexceptions
|
||||
CFLAGS-getnetbyad_r.c += -fexceptions
|
||||
CFLAGS-getnetbynm.c += -fexceptions
|
||||
CFLAGS-getnetbynm_r.c += -fexceptions
|
||||
CFLAGS-getnetent.c += -fexceptions
|
||||
CFLAGS-getnetent_r.c += -fexceptions
|
||||
endif
|
||||
|
||||
# pwd routines:
|
||||
routines += \
|
||||
fgetpwent \
|
||||
|
@ -25,6 +25,8 @@ libc {
|
||||
gethostbyaddr; gethostbyaddr_r; gethostbyname; gethostbyname2;
|
||||
gethostbyname2_r; gethostbyname_r; gethostent; gethostent_r;
|
||||
getnetgrent; getnetgrent_r;
|
||||
getnetbyaddr; getnetbyaddr_r; getnetbyname; getnetbyname_r;
|
||||
getnetent; getnetent_r;
|
||||
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
|
||||
getspent; getspent_r; getspnam; getspnam_r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user