From: Lennart Poettering Date: Thu, 30 Apr 2020 11:18:58 +0000 (+0200) Subject: calendarspec: pack our flags a bit X-Git-Tag: v246-rc1~442^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80b19994a420488271ff0b8218abf0c30fc3995c;p=thirdparty%2Fsystemd.git calendarspec: pack our flags a bit --- diff --git a/src/shared/calendarspec.h b/src/shared/calendarspec.h index 3bf8a39e1a5..0a5d95b4b12 100644 --- a/src/shared/calendarspec.h +++ b/src/shared/calendarspec.h @@ -19,9 +19,9 @@ typedef struct CalendarComponent { typedef struct CalendarSpec { int weekdays_bits; - bool end_of_month; - bool utc; - int dst; + bool end_of_month:1; + bool utc:1; + signed int dst:2; char *timezone; CalendarComponent *year;