From 9cf3cbfc3e5dbc6909c76bf223c2ab230b13f23a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 16 Jan 2017 16:08:20 +0100 Subject: [PATCH] core: use _nm_packed attribute instead of __attribute__((packed)) --- src/nm-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-manager.c b/src/nm-manager.c index 2f0d66ee08..867e0db6d8 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -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)