summaryrefslogtreecommitdiff
path: root/src/delta
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-07 16:03:43 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-06-12 21:44:00 +0200
commitef31828d06b794f548928e46718f8b152a8e7fed (patch)
tree70b61c6b3c9e1af3102bcd3aea456ec4f67e8bfb /src/delta
parent401e860cb88d406b2683bd2c8c8ba97c0a223e36 (diff)
downloadsystemd-ef31828d06b794f548928e46718f8b152a8e7fed.tar.gz
tree-wide: unify how we define bit mak enums
Let's always write "1 << 0", "1 << 1" and so on, except where we need more than 31 flag bits, where we write "UINT64(1) << 0", and so on to force 64bit values.
Diffstat (limited to 'src/delta')
-rw-r--r--src/delta/delta.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index 074ef426a9..383d08e0fd 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -62,12 +62,12 @@ static bool arg_no_pager = false;
static int arg_diff = -1;
static enum {
- SHOW_MASKED = 1 << 0,
+ SHOW_MASKED = 1 << 0,
SHOW_EQUIVALENT = 1 << 1,
SHOW_REDIRECTED = 1 << 2,
SHOW_OVERRIDDEN = 1 << 3,
- SHOW_UNCHANGED = 1 << 4,
- SHOW_EXTENDED = 1 << 5,
+ SHOW_UNCHANGED = 1 << 4,
+ SHOW_EXTENDED = 1 << 5,
SHOW_DEFAULTS =
(SHOW_MASKED | SHOW_EQUIVALENT | SHOW_REDIRECTED | SHOW_OVERRIDDEN | SHOW_EXTENDED)