diff options
author | Arjun Shankar <arjun@redhat.com> | 2023-10-02 14:55:19 +0200 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2023-10-24 12:30:59 +0200 |
commit | 4298586619e4a8cf4ba0a5a9da31ae80efac173c (patch) | |
tree | d5c5d070888a487df01e417d1b4b7e94232f06f1 /nss/Makefile | |
parent | c6b577caefb7ea2f9a73229f94703792b66f7a8f (diff) | |
download | glibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.tar.gz glibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.tar.xz glibc-4298586619e4a8cf4ba0a5a9da31ae80efac173c.zip |
Move 'aliases' routines from 'inet' into 'nss'
The aliases routines are entry points for nss functionality. This commit moves aliases.h and the aliases routines from the 'inet' subdirectory to 'nss', and adjusts any external references. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile index 84cf62af2b..2dfa7ebef9 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -23,6 +23,7 @@ subdir := nss include ../Makeconfig headers := \ + aliases.h \ grp.h \ gshadow.h \ nss.h \ @@ -54,6 +55,19 @@ routines = \ valid_list_field \ # routines +# alias routines: +routines += \ + getaliasent \ + getaliasent_r \ + getaliasname \ + getaliasname_r \ + # routines + +ifeq ($(have-thread-library),yes) +CFLAGS-getaliasent_r.c += -fexceptions +CFLAGS-getaliasent.c += -fexceptions +endif + # grp routines: routines += \ fgetgrent \ |