platform: use explict "bool" type instead of "guint8" in NMPObjects

This commit is contained in:
Thomas Haller 2015-11-20 12:01:46 +01:00
parent eef83a199a
commit 28c41c1f8c

View file

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