summaryrefslogtreecommitdiffstats
path: root/src/test/test-sigbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-25 13:14:12 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-25 13:19:18 +0100
commit3ffd4af22052963e7a29431721ee204e634bea75 (patch)
treefe60142dfddd37cfc02b7a135542107e772b36c3 /src/test/test-sigbus.c
parentsd-*.h: clean up exported (or to-be-exported) header files (diff)
downloadsystemd-3ffd4af22052963e7a29431721ee204e634bea75.tar.xz
systemd-3ffd4af22052963e7a29431721ee204e634bea75.zip
util-lib: split out fd-related operations into fd-util.[ch]
There are more than enough to deserve their own .c file, hence move them over.
Diffstat (limited to 'src/test/test-sigbus.c')
-rw-r--r--src/test/test-sigbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-sigbus.c b/src/test/test-sigbus.c
index f5bae65bef..b3ccc7509d 100644
--- a/src/test/test-sigbus.c
+++ b/src/test/test-sigbus.c
@@ -21,8 +21,9 @@
#include <sys/mman.h>
-#include "util.h"
+#include "fd-util.h"
#include "sigbus.h"
+#include "util.h"
int main(int argc, char *argv[]) {
_cleanup_close_ int fd = -1;