mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
nss: Remove <gnu/lib-names.h> include from nsswitch.c
nsswitch.c no longer references any of the *_SO macros provided by <gnu/lib-names.h>. The only consumer, __nss_shlib_revision, moved to nss_module.c as part of the NSS reorganization in glibc 2.33 (and nss_module.c includes the header unconditionally), but the guarded include was left behind. Signed-off-by: Michael Ford <fanquake@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
committed by
Adhemerval Zanella
parent
1111fbdd3e
commit
2169401438
@@ -33,10 +33,6 @@
|
||||
#include <shadow.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if !defined DO_STATIC_NSS || defined SHARED
|
||||
# include <gnu/lib-names.h>
|
||||
#endif
|
||||
|
||||
#include "nsswitch.h"
|
||||
#include "../nscd/nscd_proto.h"
|
||||
#include <sysdep.h>
|
||||
|
||||
Reference in New Issue
Block a user