diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-01-03 12:18:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-01-07 17:50:39 +0100 |
commit | 6eab5f06566dda992b416c133e07b0c66dccb9a8 (patch) | |
tree | 24003104f83d0dc57cd9501abc764323d9a7033a /src/basic/env-util.h | |
parent | f2e28b5a0d2cb67fc9778e7c787be0a02527afe7 (diff) | |
download | systemd-6eab5f06566dda992b416c133e07b0c66dccb9a8.tar.gz |
env-util: normalize one more flags enum
Diffstat (limited to 'src/basic/env-util.h')
-rw-r--r-- | src/basic/env-util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/env-util.h b/src/basic/env-util.h index 4d21ea6bef..d54f99658b 100644 --- a/src/basic/env-util.h +++ b/src/basic/env-util.h @@ -13,9 +13,9 @@ bool env_value_is_valid(const char *e); bool env_assignment_is_valid(const char *e); enum { - REPLACE_ENV_USE_ENVIRONMENT = 1u, - REPLACE_ENV_ALLOW_BRACELESS = 2u, - REPLACE_ENV_ALLOW_EXTENDED = 4u, + REPLACE_ENV_USE_ENVIRONMENT = 1 << 0, + REPLACE_ENV_ALLOW_BRACELESS = 1 << 1, + REPLACE_ENV_ALLOW_EXTENDED = 1 << 2, }; char *replace_env_n(const char *format, size_t n, char **env, unsigned flags); |