From 679e2bc31514dcd98d061de2b4804c7620e2935f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 12 Sep 2008 18:09:07 +0000 Subject: 2008-09-12 Joel Sherrill * init.c: Eliminate use of boolean type. Use C99 bool. --- http/ChangeLog | 4 ++++ http/init.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/http/ChangeLog b/http/ChangeLog index 57de512..7e7ce48 100644 --- a/http/ChangeLog +++ b/http/ChangeLog @@ -1,3 +1,7 @@ +2008-09-12 Joel Sherrill + + * init.c: Eliminate use of boolean type. Use C99 bool. + 2008-08-21 Joel Sherrill * init.c: Fix missing initializers warning. diff --git a/http/init.c b/http/init.c index 607387d..98611ac 100644 --- a/http/init.c +++ b/http/init.c @@ -59,7 +59,7 @@ #include "FilesystemImage.h" #if defined(USE_FTPD) - boolean FTPD_enabled = TRUE; + bool FTPD_enabled = true; struct rtems_ftpd_configuration rtems_ftpd_configuration = { 10, /* FTPD task priority */ 1024, /* Maximum buffersize for hooks */ @@ -75,7 +75,7 @@ }; #else - boolean FTPD_enabled = FALSE; + bool FTPD_enabled = false; #endif #if defined(USE_GOAHEAD_HTTPD) && !defined(RTEMS_POSIX_API) @@ -85,7 +85,7 @@ #endif #if defined(USE_GOAHEAD_HTTPD) - boolean GoAhead_HTTPD_enabled = TRUE; + bool GoAhead_HTTPD_enabled = true; /* GoAhead Trace Handler */ #include @@ -94,15 +94,15 @@ /* do nothing */ } #else - boolean GoAhead_HTTPD_enabled = FALSE; + bool GoAhead_HTTPD_enabled = false; #endif #if defined(USE_SIMPLE_HTTPD) - boolean Simple_HTTPD_enabled = TRUE; + bool Simple_HTTPD_enabled = true; #include #else - boolean Simple_HTTPD_enabled = FALSE; + bool Simple_HTTPD_enabled = false; #endif #define bool2string(_b) ((_b) ? "true" : "false") -- cgit v1.2.3