From 6b25959dfac6f6d8a8fdb523bfc5198576803dc4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Nov 2015 19:21:15 +0100 Subject: [PATCH] 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 --- Makefile.am | 4 ++-- src/{shared => basic}/nss-util.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) rename src/{shared => basic}/nss-util.h (99%) 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 similarity index 99% rename from src/shared/nss-util.h rename to 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 #include - #define NSS_GETHOSTBYNAME_PROTOTYPES(module) \ enum nss_status _nss_##module##_gethostbyname4_r( \ const char *name, \