summaryrefslogtreecommitdiff
path: root/src/basic/parse-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 01:23:53 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commitc7f1808add4d971229ba5311cf66e659122aa338 (patch)
tree2fac1c0f431d8dc91c8ebe4e2d12eef0b06a572c /src/basic/parse-util.h
parent0d1dbeb3a4c5c86eba5125d43488da7bec16ea0e (diff)
macro.h: move definition of MODE_INVALID to parse-util.h
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r--src/basic/parse-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h
index 35b4ba030c..72a619c38f 100644
--- a/src/basic/parse-util.h
+++ b/src/basic/parse-util.h
@@ -26,6 +26,8 @@
#include "macro.h"
+#define MODE_INVALID ((mode_t) -1)
+
int parse_boolean(const char *v) _pure_;
int parse_pid(const char *s, pid_t* ret_pid);
int parse_mode(const char *s, mode_t *ret);