summaryrefslogtreecommitdiff
path: root/attrib
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@openbossa.org>2013-04-17 10:03:07 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-24 16:59:55 +0300
commitfacc83cce6295befbf8f971314df40ab676a1495 (patch)
treed125c14e28980a1165b0eb1c867fbc02383e6e01 /attrib
parent36b5001b12703bffcecf195187fbddd33e44707e (diff)
attrib: Change is_response return type from gboolean
There is no reason to use gboolean as return type of is_response.
Diffstat (limited to 'attrib')
-rw-r--r--attrib/gattrib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 41e1ce437..9fda74f87 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -124,7 +124,7 @@ static guint8 opcode2expected(guint8 opcode)
return 0;
}
-static gboolean is_response(guint8 opcode)
+static bool is_response(guint8 opcode)
{
switch (opcode) {
case ATT_OP_ERROR:
@@ -140,10 +140,10 @@ static gboolean is_response(guint8 opcode)
case ATT_OP_PREP_WRITE_RESP:
case ATT_OP_EXEC_WRITE_RESP:
case ATT_OP_HANDLE_CNF:
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}
GAttrib *g_attrib_ref(GAttrib *attrib)