]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/sleep/sleep.c
util-lib: move main() definition macros to its own header file
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Nov 2018 19:26:37 +0000 (20:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 19 Nov 2018 20:14:34 +0000 (21:14 +0100)
commit5e332028f20566d8b9aa0d01c60aff8b9f43bcb7
tree3d17977a29f551a36dc2d86b28e0bfd9e6b7a182
parent2a44bf5099d4b13d90d4a6c93b404894960487ee
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.
35 files changed:
src/ac-power/ac-power.c
src/basic/macro.h
src/basic/main-func.h [new file with mode: 0644]
src/boot/bless-boot.c
src/boot/boot-check-no-failures.c
src/cgtop/cgtop.c
src/coredump/coredump.c
src/debug-generator/debug-generator.c
src/detect-virt/detect-virt.c
src/escape/escape.c
src/fsck/fsck.c
src/hostname/hostnamectl.c
src/hwdb/hwdb.c
src/id128/id128.c
src/import/export.c
src/import/import.c
src/import/importd.c
src/import/pull.c
src/journal/cat.c
src/login/inhibit.c
src/login/logind.c
src/login/user-runtime-dir.c
src/machine/machined.c
src/notify/notify.c
src/partition/makefs.c
src/path/path.c
src/portable/portabled.c
src/quotacheck/quotacheck.c
src/random-seed/random-seed.c
src/remount-fs/remount-fs.c
src/sleep/sleep.c
src/stdio-bridge/stdio-bridge.c
src/sysv-generator/sysv-generator.c
src/tty-ask-password-agent/tty-ask-password-agent.c
src/volatile-root/volatile-root.c