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
@@ -192,7 +192,7 @@ int main (int argc, const char* argv[])
/*
* User simulator main loop
*/
while (TRUE) {
while (true) {
char c;
int len;
@@ -293,7 +293,7 @@ static void _signal_handler(int signal_number)
*/
static void* _receive_thread(void* arg)
{
while (TRUE) {
while (true) {
/* Receive AT response from the NAS sublayer */
int rbytes = USER_RECV(_user_simulator_recv_buffer,
USER_SIMULATOR_BUFFER_SIZE);