]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: unify how we define bit mak enums
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Jun 2018 14:03:43 +0000 (16:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Jun 2018 19:44:00 +0000 (21:44 +0200)
commitef31828d06b794f548928e46718f8b152a8e7fed
tree70b61c6b3c9e1af3102bcd3aea456ec4f67e8bfb
parent401e860cb88d406b2683bd2c8c8ba97c0a223e36
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.
22 files changed:
src/basic/conf-files.h
src/basic/copy.h
src/basic/fileio.h
src/basic/fs-util.h
src/basic/label.h
src/basic/process-util.h
src/basic/reboot-util.h
src/basic/terminal-util.h
src/core/execute.h
src/core/mount-setup.c
src/core/unit.h
src/delta/delta.c
src/libsystemd/sd-bus/bus-objects.c
src/nspawn/nspawn-mount.h
src/portable/portable.h
src/shared/ask-password-api.h
src/shared/bus-util.h
src/shared/conf-parser.h
src/shared/install.c
src/shared/install.h
src/shared/path-lookup.h
src/shared/seccomp-util.h