util-lib: move nss-util.h from shared/ to basic/
The header file defines some helpers for GLIBC NSS and doesn't include anything else but glibc headers, hence there's little reason to keep it in shared/. See: #2008
This commit is contained in:
+2
-2
@@ -947,7 +947,8 @@ libbasic_la_SOURCES = \
|
||||
src/basic/copy.h \
|
||||
src/basic/alloc-util.h \
|
||||
src/basic/alloc-util.c \
|
||||
src/basic/formats-util.h
|
||||
src/basic/formats-util.h \
|
||||
src/basic/nss-util.h
|
||||
|
||||
nodist_libbasic_la_SOURCES = \
|
||||
src/basic/errno-from-name.h \
|
||||
@@ -1007,7 +1008,6 @@ libshared_la_SOURCES = \
|
||||
src/shared/base-filesystem.h \
|
||||
src/shared/uid-range.c \
|
||||
src/shared/uid-range.h \
|
||||
src/shared/nss-util.h \
|
||||
src/shared/install.c \
|
||||
src/shared/install.h \
|
||||
src/shared/install-printf.c \
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <pwd.h>
|
||||
#include <resolv.h>
|
||||
|
||||
|
||||
#define NSS_GETHOSTBYNAME_PROTOTYPES(module) \
|
||||
enum nss_status _nss_##module##_gethostbyname4_r( \
|
||||
const char *name, \
|
||||
Reference in New Issue
Block a user