]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
proc-cmdline: use our usual syntax for denoting bit mask enums
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2018 10:00:01 +0000 (12:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2018 10:00:01 +0000 (12:00 +0200)
src/basic/proc-cmdline.h

index bb8b18d3b1f9d156e1804feac01209d8a532f849..efa88df0a0597bef150a121405a5ffcff1a9aa7f 100644 (file)
@@ -6,9 +6,9 @@
 #include "log.h"
 
 enum {
-        PROC_CMDLINE_STRIP_RD_PREFIX = 1,
-        PROC_CMDLINE_VALUE_OPTIONAL = 2,
-        PROC_CMDLINE_RD_STRICT = 4
+        PROC_CMDLINE_STRIP_RD_PREFIX = 1 << 0,
+        PROC_CMDLINE_VALUE_OPTIONAL  = 1 << 1,
+        PROC_CMDLINE_RD_STRICT       = 1 << 2,
 };
 
 typedef int (*proc_cmdline_parse_t)(const char *key, const char *value, void *data);