chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15 from elogind/dev_v229
[elogind.git]
/
src
/
basic
/
proc-cmdline.c
diff --git
a/src/basic/proc-cmdline.c
b/src/basic/proc-cmdline.c
index 4a36d055e3e265584aafdcd712a72950998b0fbf..62c801fe49ffa7d8f52c6ee2be2e16069f701f93 100644
(file)
--- a/
src/basic/proc-cmdline.c
+++ b/
src/basic/proc-cmdline.c
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-19,6
+17,10
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+#include <stddef.h>
+#include <string.h>
+
#include "alloc-util.h"
#include "extract-word.h"
#include "fileio.h"
#include "alloc-util.h"
#include "extract-word.h"
#include "fileio.h"
@@
-132,8
+134,7
@@
int get_proc_cmdline_key(const char *key, char **value) {
}
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int shall_restore_state(void) {
_cleanup_free_ char *value = NULL;
int r;
int shall_restore_state(void) {
_cleanup_free_ char *value = NULL;
int r;