summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-27 19:21:15 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-27 19:23:29 +0100
commit6b25959dfac6f6d8a8fdb523bfc5198576803dc4 (patch)
tree3cdc7817ddb2f27e642fe3d13232e890cd015bca
parent4afd3348c7506dd1d36305b7bcb9feb8952b9d6b (diff)
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
-rw-r--r--Makefile.am4
-rw-r--r--src/basic/nss-util.h (renamed from src/shared/nss-util.h)1
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index c25afa1f06..db206ae13e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \
diff --git a/src/shared/nss-util.h b/src/basic/nss-util.h
index a7b51a91da..cc30d93aad 100644
--- a/src/shared/nss-util.h
+++ b/src/basic/nss-util.h
@@ -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, \