summaryrefslogtreecommitdiff
path: root/src/sysv-generator
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-19 20:26:37 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-19 21:14:34 +0100
commit5e332028f20566d8b9aa0d01c60aff8b9f43bcb7 (patch)
tree3d17977a29f551a36dc2d86b28e0bfd9e6b7a182 /src/sysv-generator
parent2a44bf5099d4b13d90d4a6c93b404894960487ee (diff)
downloadsystemd-5e332028f20566d8b9aa0d01c60aff8b9f43bcb7.tar.gz
util-lib: move main() definition macros to its own header file
This way, we can extend the macro a bit with stuff pulled in from other headers without this affecting everything which pulls in macro.h, which is one of our most basic headers. This is just refactoring, no change in behaviour, in prepartion for later changes.
Diffstat (limited to 'src/sysv-generator')
-rw-r--r--src/sysv-generator/sysv-generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
index 255adeaa19..c92d7f841a 100644
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -14,6 +14,7 @@
#include "hexdecoct.h"
#include "install.h"
#include "log.h"
+#include "main-func.h"
#include "mkdir.h"
#include "path-lookup.h"
#include "path-util.h"