From: Zbigniew Jędrzejewski-Szmek Date: Mon, 19 Feb 2024 11:10:34 +0000 (+0100) Subject: sysupdate: drop pointless bitfields X-Git-Tag: v256-rc1~802^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e2be1d97a5798fe38d14ec5658c22551967a45b;p=thirdparty%2Fsystemd.git sysupdate: drop pointless bitfields Again, even without considering how many copies of the struct there can be, this bitfield is useless because of alignment. --- diff --git a/src/sysupdate/sysupdate-partition.h b/src/sysupdate/sysupdate-partition.h index 672eb93e905..094d8e0ca49 100644 --- a/src/sysupdate/sysupdate-partition.h +++ b/src/sysupdate/sysupdate-partition.h @@ -29,9 +29,9 @@ struct PartitionInfo { sd_id128_t type, uuid; char *label; char *device; /* Note that this might point to some non-existing path in case we operate on a loopback file */ - bool no_auto:1; - bool read_only:1; - bool growfs:1; + bool no_auto; + bool read_only; + bool growfs; }; #define PARTITION_INFO_NULL \