]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-event: drop one bitfield from sd_event_source
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Feb 2021 16:02:18 +0000 (17:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Feb 2021 13:43:10 +0000 (14:43 +0100)
pahole analysis confirms that the structure size does not change (there
was/is a hole after the sequence of bitfields anyway).

src/libsystemd/sd-event/event-source.h

index f0d2a1b9e6daf89241b78f02973d515b91255b0a..9f6a8d5e161220b26bfec9416c13f107fc3bf5f7 100644 (file)
@@ -56,7 +56,7 @@ struct sd_event_source {
 
         char *description;
 
-        EventSourceType type:5;
+        EventSourceType type;
         signed int enabled:3;
         bool pending:1;
         bool dispatching:1;