mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
nspawn: let's rename _FORCE_ENUM_WIDTH → _SETTING_FORCE_ENUM_WIDTH
Just some preparation in case we need a similar hack in another enum one day.
This commit is contained in:
parent
1688841f46
commit
f728ab1724
@ -93,7 +93,7 @@ typedef enum SettingsMask {
|
||||
SETTING_RLIMIT_FIRST = UINT64_C(1) << 24, /* we define one bit per resource limit here */
|
||||
SETTING_RLIMIT_LAST = UINT64_C(1) << (24 + _RLIMIT_MAX - 1),
|
||||
_SETTINGS_MASK_ALL = (UINT64_C(1) << (24 + _RLIMIT_MAX)) -1,
|
||||
_FORCE_ENUM_WIDTH = UINT64_MAX
|
||||
_SETTING_FORCE_ENUM_WIDTH = UINT64_MAX
|
||||
} SettingsMask;
|
||||
|
||||
/* We want to use SETTING_RLIMIT_FIRST in shifts, so make sure it is really 64 bits
|
||||
|
Loading…
x
Reference in New Issue
Block a user