Use (std) bool instead of custom bool types

OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as
there is a standard bool type, and could lead to nasty bugs if a
definition of a bool is non-standard (0 == false, true == !false). This
commit removes all non-standard bools in the whole project.
This commit is contained in:
Robert Schmidt
2022-06-27 10:07:48 +02:00
parent 6d030ea2fa
commit 0b91791f67
176 changed files with 1414 additions and 1573 deletions
+2 -2
View File
@@ -205,7 +205,7 @@ static void *_nas_user_mngr(void *args)
LOG_FUNC_IN;
pthread_setname_np( pthread_self(), "nas_user_mngr");
int exit_loop = FALSE;
bool exit_loop = false;
int *fd = (int *) args;
@@ -251,7 +251,7 @@ static void *_nas_network_mngr(void *args)
LOG_TRACE (INFO, "UE-MAIN - Network connection manager started (%d)", *fd);
/* Network receiving loop */
while (TRUE) {
while (true) {
/* Read the network data message */
bytes = network_api_read_data (*fd);