]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal: use a bitfield where appropriate
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 08:46:10 +0000 (10:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 10:12:20 +0000 (12:12 +0200)
src/journal/journal-internal.h

index 1454df602b8594ad8466d8f2121c59c74328d3b9..e1fb01a6e38ab823c77b740292566e3264c17272 100644 (file)
@@ -41,10 +41,10 @@ struct Match {
 struct Location {
         LocationType type;
 
-        bool seqnum_set;
-        bool realtime_set;
-        bool monotonic_set;
-        bool xor_hash_set;
+        bool seqnum_set:1;
+        bool realtime_set:1;
+        bool monotonic_set:1;
+        bool xor_hash_set:1;
 
         uint64_t seqnum;
         sd_id128_t seqnum_id;