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/LAN_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/LAN_discovery.c') diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index 115b626d..22ea466a 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c @@ -235,7 +235,7 @@ static IP broadcast_ip(sa_family_t family_socket, sa_family_t family_broadcast) } /* Is IP a local ip or not. */ -_Bool Local_ip(IP ip) +bool Local_ip(IP ip) { if (ip.family == AF_INET) { IP4 ip4 = ip.ip4; -- cgit v1.2.3