(a == '-' && b == '_');
}
+#if 0 /// UNNEEDED by elogind
char *proc_cmdline_key_startswith(const char *s, const char *prefix) {
assert(s);
return (char*) s;
}
+#endif // 0
bool proc_cmdline_key_streq(const char *x, const char *y) {
assert(x);
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;
*
* c) The "value" parameter is NULL. In this case a search for the exact "key" parameter is performed.
*
- * In all three cases, > 0 is returned if the key is found, 0 if not.*/
+ * In all three cases, > 0 is returned if the key is found, 0 if not. */
if (isempty(key))
return -EINVAL;
return 1;
}
-#if 0 /// UNNEEDED by elogind
int shall_restore_state(void) {
bool ret;
int r;