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.
This commit is contained in:
Thomas Haller 2020-12-13 23:34:23 +01:00
parent 90704dafae
commit e711aa1423
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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