summaryrefslogtreecommitdiff
path: root/src/basic/proc-cmdline.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-17 17:13:52 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:43 +0200
commit9b00a533195b7fec54a791ca02090e0799214770 (patch)
treee90897324ef71839af2201590541a8f623fae386 /src/basic/proc-cmdline.c
parent1981059eaccd58a641074a7c78c0dcec52eabfb2 (diff)
Prep v233: Unmask now needed functions in src/basic
Diffstat (limited to 'src/basic/proc-cmdline.c')
-rw-r--r--src/basic/proc-cmdline.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/proc-cmdline.c b/src/basic/proc-cmdline.c
index 59a41e7ea..e2eba45a3 100644
--- a/src/basic/proc-cmdline.c
+++ b/src/basic/proc-cmdline.c
@@ -110,6 +110,7 @@ static bool relaxed_equal_char(char a, char b) {
(a == '-' && b == '_');
}
+#if 0 /// UNNEEDED by elogind
char *proc_cmdline_key_startswith(const char *s, const char *prefix) {
assert(s);
@@ -123,6 +124,7 @@ char *proc_cmdline_key_startswith(const char *s, const char *prefix) {
return (char*) s;
}
+#endif // 0
bool proc_cmdline_key_streq(const char *x, const char *y) {
assert(x);
@@ -137,6 +139,7 @@ bool proc_cmdline_key_streq(const char *x, const char *y) {
return true;
}
+#if 0 /// UNNEEDED by elogind
int proc_cmdline_get_key(const char *key, unsigned flags, char **value) {
_cleanup_free_ char *line = NULL, *ret = NULL;
bool found = false;
@@ -236,7 +239,6 @@ int proc_cmdline_get_bool(const char *key, bool *ret) {
return 1;
}
-#if 0 /// UNNEEDED by elogind
int shall_restore_state(void) {
bool ret;
int r;