diff options
author | Arjun Shankar <arjun@redhat.com> | 2023-10-02 14:55:24 +0200 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2023-10-24 12:30:59 +0200 |
commit | a25a060c358358d61d683dc8e9aa9df91e877a35 (patch) | |
tree | e01407aca6f3cf2a7891c428681314842aca5878 /nss/Makefile | |
parent | 5a6e784e64c9e3d9b16b257f73cc6332771d9e18 (diff) | |
download | glibc-a25a060c358358d61d683dc8e9aa9df91e877a35.tar.gz glibc-a25a060c358358d61d683dc8e9aa9df91e877a35.tar.xz glibc-a25a060c358358d61d683dc8e9aa9df91e877a35.zip |
Move 'protocols' routines from 'inet' into 'nss'
The getprotoby* and getprotoent* 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>
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile index 023a11fa4b..df22d3655c 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -178,6 +178,21 @@ CFLAGS-getnetent.c += -fexceptions CFLAGS-getnetent_r.c += -fexceptions endif +# protocols routines: +routines += \ + getproto \ + getproto_r \ + getprtent \ + getprtent_r \ + getprtname \ + getprtname_r \ + # routines + +ifeq ($(have-thread-library),yes) +CFLAGS-getprtent_r.c += -fexceptions +CFLAGS-getprtent.c += -fexceptions +endif + # pwd routines: routines += \ fgetpwent \ |