Diff between 36b5001b12703bffcecf195187fbddd33e44707e and facc83cce6295befbf8f971314df40ab676a1495

Changed Files

File Additions Deletions Status
attrib/gattrib.c +3 -3 modified

Full Patch

diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 41e1ce4..9fda74f 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)