mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-24 00:50:40 +01:00
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:
parent
90704dafae
commit
e711aa1423
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue