summaryrefslogtreecommitdiff
path: root/src/core/emergency-action.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-21 17:54:35 +0100
committerLennart Poettering <lennart@poettering.net>2018-02-22 10:46:12 +0100
commite3631d1c809e368a5116d01e4fb9b9c7d2dddcca (patch)
tree11e28829c6af02de47023cc392109d5056cdb30a /src/core/emergency-action.c
parent118cf9523b94a6be0d45b2fa59ef37f2e89454da (diff)
downloadsystemd-e3631d1c809e368a5116d01e4fb9b9c7d2dddcca.tar.gz
basic: split out update_reboot_parameter_and_warn() into its own .c/.h files
This is primarily preparation for a follow-up commit that adds a common implementation of the other side of the reboot parameter file, i.e. the code that reads the file and issues reboot() for it.
Diffstat (limited to 'src/core/emergency-action.c')
-rw-r--r--src/core/emergency-action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/emergency-action.c b/src/core/emergency-action.c
index be3ca8f20d..3d37a986bc 100644
--- a/src/core/emergency-action.c
+++ b/src/core/emergency-action.c
@@ -25,6 +25,7 @@
#include "bus-util.h"
#include "emergency-action.h"
#include "raw-reboot.h"
+#include "reboot-util.h"
#include "special.h"
#include "string-table.h"
#include "terminal-util.h"