mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 06:10:06 +00:00
b121fdc552
The majority of grp routines are entry points for nss functionality. This commit removes the 'grp' subdirectory and moves all nss-relevant functionality and all tests to 'nss', and the 'setgroups' stub into 'posix' (alongside the 'getgroups' stub). References to grp/ are accordingly changed. In addition, compat-initgroups.c, a fallback implementation of initgroups is renamed to initgroups-fallback.c so that the build system does not confuse it for nss_compat/compat-initgroups.c. Build time improves very slightly; e.g. down from an average of 45.5s to 44.5s on an 8-thread mobile x86_64 CPU. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
8 lines
139 B
C
8 lines
139 B
C
#ifndef _GRP_MERGE_H
|
|
#include <nss/grp-merge.h>
|
|
|
|
libc_hidden_proto (__copy_grp)
|
|
libc_hidden_proto (__merge_grp)
|
|
|
|
#endif /* _GRP_MERGE_H */
|