summaryrefslogtreecommitdiffstats
path: root/src/basic/util.h
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/basic/util.h
parenttree-wide: voidify reboot() invocations (diff)
downloadsystemd-e3631d1c809e368a5116d01e4fb9b9c7d2dddcca.tar.xz
systemd-e3631d1c809e368a5116d01e4fb9b9c7d2dddcca.zip
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/basic/util.h')
-rw-r--r--src/basic/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 9d1b10756b..6f8d8bef34 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -186,8 +186,6 @@ uint64_t physical_memory_scale(uint64_t v, uint64_t max);
uint64_t system_tasks_max(void);
uint64_t system_tasks_max_scale(uint64_t v, uint64_t max);
-int update_reboot_parameter_and_warn(const char *param);
-
int version(void);
int str_verscmp(const char *s1, const char *s2);