1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-22 22:03:43 +03:00

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:
Lennart Poettering 2015-11-27 19:21:15 +01:00
parent 4afd3348c7
commit 6b25959dfa
2 changed files with 2 additions and 3 deletions

View File

@ -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 \

View File

@ -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, \