From e711aa1423ecd48e7913812464c2105a24673370 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 13 Dec 2020 23:34:23 +0100 Subject: [PATCH] core: avoid "__u32","__u8" types in "src/nm-manager.c" These typedefs are defined by some libc headers, and we drag them in by including some other standard headers. It's not clear which headers we exactly need for them, and that all libcs provide them the same. Instead, just avoid them. --- src/nm-manager.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/nm-manager.c b/src/nm-manager.c index 03906c8435..3b093dd086 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -7450,10 +7450,11 @@ auth_mgr_changed(NMAuthManager *auth_manager, gpointer user_data) #define KERN_RFKILL_TYPE_WLAN 1 #define KERN_RFKILL_TYPE_WWAN 5 struct rfkill_event { - __u32 idx; - __u8 type; - __u8 op; - __u8 soft, hard; + uint32_t idx; + uint8_t type; + uint8_t op; + uint8_t soft; + uint8_t hard; } _nm_packed; static void