From: Lennart Poettering Date: Tue, 22 May 2018 12:39:50 +0000 (+0200) Subject: nspawn: let's rename _FORCE_ENUM_WIDTH → _SETTING_FORCE_ENUM_WIDTH X-Git-Tag: v239~213^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f728ab1724bd2dde9e7c2e6841d7c826b2a9ec16;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/nspawn/nspawn-settings.h b/src/nspawn/nspawn-settings.h index 9be7679027f..28a0d8b8e10 100644 --- a/src/nspawn/nspawn-settings.h +++ b/src/nspawn/nspawn-settings.h @@ -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