]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shutdown: Drop bit fields in boolean declarations
authorValentin David <valentin.david@canonical.com>
Fri, 16 Dec 2022 12:56:14 +0000 (13:56 +0100)
committerValentin David <valentin.david@canonical.com>
Wed, 11 Jan 2023 14:16:07 +0000 (15:16 +0100)
Due to alignment, they did not save any space.

src/shutdown/umount.h

index a4154c9099fcd7fdac5fdac8822f0d6bed99f73d..6261e719b0c67f7ba7a91f2e2275809822a4a0a5 100644 (file)
@@ -18,8 +18,8 @@ typedef struct MountPoint {
         char *path;
         char *remount_options;
         unsigned long remount_flags;
-        bool try_remount_ro:1;
-        bool umount_lazily:1;
+        bool try_remount_ro;
+        bool umount_lazily;
         dev_t devnum;
         LIST_FIELDS(struct MountPoint, mount_point);
 } MountPoint;