There is no need to use gboolean as this flag is not used with any glib function. --- plugins/neard.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/neard.c b/plugins/neard.c index 9351ac5..b3ba2b0 100644 --- a/plugins/neard.c +++ b/plugins/neard.c @@ -50,7 +50,7 @@ static guint watcher_id = 0; static char *neard_path = NULL; -static gboolean agent_register_postpone = FALSE; +static bool agent_register_postpone = false; /* For NFC mimetype limits max OOB EIR size */ #define NFC_OOB_EIR_MAX UINT8_MAX @@ -242,7 +242,7 @@ static void read_local_complete(struct btd_adapter *adapter, dbus_message_unref(msg); if (agent_register_postpone) { - agent_register_postpone = FALSE; + agent_register_postpone = false; register_agent(); } @@ -274,7 +274,7 @@ static void bonding_complete(struct btd_adapter *adapter, dbus_message_unref(msg); if (agent_register_postpone) { - agent_register_postpone = FALSE; + agent_register_postpone = false; register_agent(); } @@ -829,7 +829,7 @@ static void neard_appeared(DBusConnection *conn, void *user_data) adapter = btd_adapter_get_default(); if (adapter && btd_adapter_check_oob_handler(adapter)) - agent_register_postpone = TRUE; + agent_register_postpone = true; else register_agent(); } -- 1.8.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html