mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 23:31:19 +00:00
platform: use explict "bool" type instead of "guint8" in NMPObjects
This commit is contained in:
parent
eef83a199a
commit
28c41c1f8c
|
@ -149,7 +149,7 @@ typedef struct {
|
|||
NMPlatformLink _public;
|
||||
|
||||
struct {
|
||||
guint8 is_in_netlink;
|
||||
bool is_in_netlink;
|
||||
|
||||
/* Additional data that depends on the link-type (IFLA_INFO_DATA) */
|
||||
NMPObject *lnk;
|
||||
|
@ -204,7 +204,7 @@ typedef struct {
|
|||
struct _NMPObject {
|
||||
const NMPClass *_class;
|
||||
int _ref_count;
|
||||
guint8 is_cached;
|
||||
bool is_cached;
|
||||
union {
|
||||
NMPlatformObject object;
|
||||
|
||||
|
|
Loading…
Reference in a new issue