diff options
-rw-r--r-- | http/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <joel.sherrill@OARcorp.com> + + * init.c: Eliminate use of boolean type. Use C99 bool. + 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com> * 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 <goahead/uemf.h> @@ -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 <shttpd/shttpd.h> #else - boolean Simple_HTTPD_enabled = FALSE; + bool Simple_HTTPD_enabled = false; #endif #define bool2string(_b) ((_b) ? "true" : "false") |