mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +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 \
|
ether_ntoa_r \
|
||||||
getipv4sourcefilter \
|
getipv4sourcefilter \
|
||||||
getnameinfo \
|
getnameinfo \
|
||||||
getnetbyad \
|
|
||||||
getnetbyad_r \
|
|
||||||
getnetbynm \
|
|
||||||
getnetbynm_r \
|
|
||||||
getnetent \
|
|
||||||
getnetent_r \
|
|
||||||
getproto \
|
getproto \
|
||||||
getproto_r \
|
getproto_r \
|
||||||
getprtent \
|
getprtent \
|
||||||
@ -144,12 +138,6 @@ include ../gen-locales.mk
|
|||||||
ifeq ($(have-thread-library),yes)
|
ifeq ($(have-thread-library),yes)
|
||||||
|
|
||||||
CFLAGS-rcmd.c += -fexceptions
|
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_r.c += -fexceptions
|
||||||
CFLAGS-getrpcent.c += -fexceptions
|
CFLAGS-getrpcent.c += -fexceptions
|
||||||
CFLAGS-getservent_r.c += -fexceptions
|
CFLAGS-getservent_r.c += -fexceptions
|
||||||
|
@ -14,8 +14,7 @@ libc {
|
|||||||
ether_ntoa_r;
|
ether_ntoa_r;
|
||||||
|
|
||||||
# g*
|
# g*
|
||||||
getdomainname; getnetbyaddr; getnetbyaddr_r; getnetbyname;
|
getdomainname;
|
||||||
getnetbyname_r; getnetent; getnetent_r;
|
|
||||||
getprotobyname; getprotobyname_r; getprotobynumber;
|
getprotobyname; getprotobyname_r; getprotobynumber;
|
||||||
getprotobynumber_r; getprotoent; getprotoent_r;
|
getprotobynumber_r; getprotoent; getprotoent_r;
|
||||||
getservbyname; getservbyname_r; getservbyport;
|
getservbyname; getservbyname_r; getservbyport;
|
||||||
|
19
nss/Makefile
19
nss/Makefile
@ -159,6 +159,25 @@ CFLAGS-getnetgrent.c += -fexceptions
|
|||||||
CFLAGS-getnetgrent_r.c += -fexceptions
|
CFLAGS-getnetgrent_r.c += -fexceptions
|
||||||
endif
|
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:
|
# pwd routines:
|
||||||
routines += \
|
routines += \
|
||||||
fgetpwent \
|
fgetpwent \
|
||||||
|
@ -25,6 +25,8 @@ libc {
|
|||||||
gethostbyaddr; gethostbyaddr_r; gethostbyname; gethostbyname2;
|
gethostbyaddr; gethostbyaddr_r; gethostbyname; gethostbyname2;
|
||||||
gethostbyname2_r; gethostbyname_r; gethostent; gethostent_r;
|
gethostbyname2_r; gethostbyname_r; gethostent; gethostent_r;
|
||||||
getnetgrent; getnetgrent_r;
|
getnetgrent; getnetgrent_r;
|
||||||
|
getnetbyaddr; getnetbyaddr_r; getnetbyname; getnetbyname_r;
|
||||||
|
getnetent; getnetent_r;
|
||||||
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
|
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
|
||||||
getspent; getspent_r; getspnam; getspnam_r;
|
getspent; getspent_r; getspnam; getspnam_r;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user