diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-25 22:32:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-26 01:24:38 +0100 |
commit | b1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 (patch) | |
tree | ca7a42f7604a837da6cfb80682d737beee34a219 /src/test | |
parent | c004493cdefc1f43a3956ca529e8070f8d70be56 (diff) |
util-lib: split out user/group/uid/gid calls into user-util.[ch]
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-ipcrm.c | 3 | ||||
-rw-r--r-- | src/test/test-util.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test-ipcrm.c b/src/test/test-ipcrm.c index 4944bf6ad9..5841cb3fb1 100644 --- a/src/test/test-ipcrm.c +++ b/src/test/test-ipcrm.c @@ -19,8 +19,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include "util.h" #include "clean-ipc.h" +#include "user-util.h" +#include "util.h" int main(int argc, char *argv[]) { uid_t uid; diff --git a/src/test/test-util.c b/src/test/test-util.c index 86895733c0..c1f8a866af 100644 --- a/src/test/test-util.c +++ b/src/test/test-util.c @@ -46,6 +46,7 @@ #include "strv.h" #include "util.h" #include "virt.h" +#include "user-util.h" static void test_streq_ptr(void) { assert_se(streq_ptr(NULL, NULL)); |