chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v222: Update build system:
[elogind.git]
/
src
/
basic
/
util.c
diff --git
a/src/basic/util.c
b/src/basic/util.c
index 3945abdbef17c212206d4f7b6f8c5b8b41bcb6ad..f17a473d6c6c3c59186a9eff84275394a1a6d4ce 100644
(file)
--- a/
src/basic/util.c
+++ b/
src/basic/util.c
@@
-4362,8
+4362,6
@@
int parse_proc_cmdline(int (*parse_item)(const char *key, const char *value)) {
return 0;
}
return 0;
}
-/// UNNEEDED by elogind
-#if 0
int get_proc_cmdline_key(const char *key, char **value) {
_cleanup_free_ char *line = NULL, *ret = NULL;
bool found = false;
int get_proc_cmdline_key(const char *key, char **value) {
_cleanup_free_ char *line = NULL, *ret = NULL;
bool found = false;
@@
-4416,7
+4414,6
@@
int get_proc_cmdline_key(const char *key, char **value) {
return found;
}
return found;
}
-#endif // 0
int container_get_leader(const char *machine, pid_t *pid) {
_cleanup_free_ char *s = NULL, *class = NULL;
int container_get_leader(const char *machine, pid_t *pid) {
_cleanup_free_ char *s = NULL, *class = NULL;