From 45d28904b92c825d1ac88be9edae8baabcd4bba1 Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 13 Sep 2016 22:01:45 +0100 Subject: Use and replace _Bool with bool. This header is a requirement for the public API, therefore is assumed to exist. It is a C99 standard library header, and _Bool is not intended to be used directly, except in legacy code that defines bool (and true/false) itself. We don't use or depend on such code. None of our client code uses or depends on such code. There is no reason to not use bool. --- toxcore/friend_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/friend_connection.c') diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c index fa88f1bc..314f4e61 100644 --- a/toxcore/friend_connection.c +++ b/toxcore/friend_connection.c @@ -332,7 +332,7 @@ static int handle_status(void *object, int number, uint8_t status, void *userdat return -1; } - _Bool call_cb = 0; + bool call_cb = 0; if (status) { /* Went online. */ call_cb = 1; -- cgit v1.2.3