summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:06:29 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commit4e731273edfe852a3eee2949cd20f49fd5b4f6d7 (patch)
tree3e728dfbf3fdfd51261e4b7c2aa6c7b057f0ced6 /src/basic/util.h
parentd4510856a007712900795c79853d2218780c2321 (diff)
util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch]
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 96be6ecaa8..2ebb275494 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -288,8 +288,6 @@ static inline unsigned log2u_round_up(unsigned x) {
bool id128_is_valid(const char *s) _pure_;
-int shall_restore_state(void);
-
/**
* Normal qsort requires base to be nonnull. Here were require
* that only if nmemb > 0.
@@ -302,10 +300,6 @@ static inline void qsort_safe(void *base, size_t nmemb, size_t size, comparison_
qsort(base, nmemb, size, compar);
}
-int proc_cmdline(char **ret);
-int parse_proc_cmdline(int (*parse_word)(const char *key, const char *value));
-int get_proc_cmdline_key(const char *parameter, char **value);
-
int container_get_leader(const char *machine, pid_t *pid);
int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd);