core: use _nm_packed attribute instead of __attribute__((packed))

This commit is contained in:
Thomas Haller 2017-01-16 16:08:20 +01:00
parent 803467fe93
commit 9cf3cbfc3e

View file

@ -5490,7 +5490,7 @@ struct rfkill_event {
__u8 type;
__u8 op;
__u8 soft, hard;
} __attribute__((packed));
} _nm_packed;
static void
rfkill_change (NMManager *self, const char *desc, RfKillType rtype, gboolean enabled)