Return-Path: From: Jefferson Delfes To: linux-bluetooth@vger.kernel.org Cc: Jefferson Delfes Subject: [PATCH BlueZ v2 02/16] attrib: Change GAttrib->stale type from gboolean Date: Wed, 10 Apr 2013 15:16:47 -0400 Message-Id: <1365621421-1422-3-git-send-email-jefferson.delfes@openbossa.org> In-Reply-To: <1365621421-1422-1-git-send-email-jefferson.delfes@openbossa.org> References: <1364485160-22720-1-git-send-email-jefferson.delfes@openbossa.org> <1365621421-1422-1-git-send-email-jefferson.delfes@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: There is no reason to GAttrib->stale be gboolean. --- attrib/gattrib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/attrib/gattrib.c b/attrib/gattrib.c index 416d17b..f6881af 100644 --- a/attrib/gattrib.c +++ b/attrib/gattrib.c @@ -27,6 +27,7 @@ #endif #include +#include #include #include @@ -56,7 +57,7 @@ struct _GAttrib { guint next_cmd_id; GDestroyNotify destroy; gpointer destroy_user_data; - gboolean stale; + bool stale; }; struct command { @@ -279,7 +280,7 @@ static gboolean disconnect_timeout(gpointer data) } done: - attrib->stale = TRUE; + attrib->stale = true; g_attrib_unref(attrib); -- 1.8.2