summaryrefslogtreecommitdiffstats
path: root/src/basic/env-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-01-03 12:18:47 +0100
committerLennart Poettering <lennart@poettering.net>2019-01-07 17:50:39 +0100
commit6eab5f06566dda992b416c133e07b0c66dccb9a8 (patch)
tree24003104f83d0dc57cd9501abc764323d9a7033a /src/basic/env-util.h
parentMerge pull request #11327 from keszybz/revert-dbus-address (diff)
downloadsystemd-6eab5f06566dda992b416c133e07b0c66dccb9a8.tar.xz
systemd-6eab5f06566dda992b416c133e07b0c66dccb9a8.zip
env-util: normalize one more flags enum
Diffstat (limited to 'src/basic/env-util.h')
-rw-r--r--src/basic/env-util.h6
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);