]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: let's rename _FORCE_ENUM_WIDTH → _SETTING_FORCE_ENUM_WIDTH
authorLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 12:39:50 +0000 (14:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 14:21:26 +0000 (16:21 +0200)
Just some preparation in case we need a similar hack in another enum one
day.

src/nspawn/nspawn-settings.h

index 9be7679027f590035513f8f049eb133eabb9f00d..28a0d8b8e1013867e468363267c21ffaddf5a43a 100644 (file)
@@ -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