diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 01:23:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:57 +0100 |
commit | c7f1808add4d971229ba5311cf66e659122aa338 (patch) | |
tree | 2fac1c0f431d8dc91c8ebe4e2d12eef0b06a572c /src/basic/parse-util.h | |
parent | 0d1dbeb3a4c5c86eba5125d43488da7bec16ea0e (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.h | 2 |
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); |