diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-27 11:32:41 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-27 11:53:12 +0100 |
commit | ca78ad1de987b800978622a22ac6c5caf628a037 (patch) | |
tree | 9445e8e303fbb8f52aaccf6cd280b7cd957dc97e /src/test/test-socket-util.c | |
parent | b45556375e0b9989a1245a36fcb673b95eb21f43 (diff) | |
download | systemd-ca78ad1de987b800978622a22ac6c5caf628a037.tar.gz |
headers: remove unneeded includes from util.h
This means we need to include many more headers in various files that simply
included util.h before, but it seems cleaner to do it this way.
Diffstat (limited to 'src/test/test-socket-util.c')
-rw-r--r-- | src/test/test-socket-util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/test-socket-util.c b/src/test/test-socket-util.c index cd4e784894..057840d76f 100644 --- a/src/test/test-socket-util.c +++ b/src/test/test-socket-util.c @@ -1,8 +1,10 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ +#include <fcntl.h> +#include <grp.h> +#include <sys/stat.h> #include <sys/types.h> #include <unistd.h> -#include <grp.h> #include "alloc-util.h" #include "async.h" @@ -19,7 +21,6 @@ #include "string-util.h" #include "tests.h" #include "tmpfile-util.h" -#include "util.h" static void test_ifname_valid(void) { log_info("/* %s */", __func__); |