summaryrefslogtreecommitdiffstats
path: root/src/test/test-socket-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-30 21:05:27 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-02 13:22:29 +0100
commite4de72876e6db5defb16ffe96c2b2ecce0e76a86 (patch)
tree521722d4609290490cafc759c88e2ce4f743908f /src/test/test-socket-util.c
parentutil-lib: don't include fileio.h from fileio-label.h (diff)
downloadsystemd-e4de72876e6db5defb16ffe96c2b2ecce0e76a86.tar.xz
systemd-e4de72876e6db5defb16ffe96c2b2ecce0e76a86.zip
util-lib: split out all temporary file related calls into tmpfiles-util.c
This splits out a bunch of functions from fileio.c that have to do with temporary files. Simply to make the header files a bit shorter, and to group things more nicely. No code changes, just some rearranging of source files.
Diffstat (limited to 'src/test/test-socket-util.c')
-rw-r--r--src/test/test-socket-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-socket-util.c b/src/test/test-socket-util.c
index 349d866442..f902f500e0 100644
--- a/src/test/test-socket-util.c
+++ b/src/test/test-socket-util.c
@@ -9,7 +9,6 @@
#include "escape.h"
#include "exit-status.h"
#include "fd-util.h"
-#include "fileio.h"
#include "in-addr-util.h"
#include "io-util.h"
#include "log.h"
@@ -17,8 +16,9 @@
#include "process-util.h"
#include "socket-util.h"
#include "string-util.h"
-#include "util.h"
#include "tests.h"
+#include "tmpfile-util.h"
+#include "util.h"
static void test_ifname_valid(void) {
log_info("/* %s */", __func__);