diff options
author | Jefferson Delfes <jefferson.delfes@openbossa.org> | 2013-04-17 10:03:07 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-24 16:59:55 +0300 |
commit | facc83cce6295befbf8f971314df40ab676a1495 (patch) | |
tree | d125c14e28980a1165b0eb1c867fbc02383e6e01 /attrib | |
parent | 36b5001b12703bffcecf195187fbddd33e44707e (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.c | 6 |
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) |