summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-12 18:09:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-12 18:09:07 +0000
commit679e2bc31514dcd98d061de2b4804c7620e2935f (patch)
treef2b7ffd372c182c0b5352a0aa7b92ee5d8b06aa0
parent402e6c76e3fa3e26b8a34ca11a4a667e4c88ac3b (diff)
2008-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* init.c: Eliminate use of boolean type. Use C99 bool.
-rw-r--r--http/ChangeLog4
-rw-r--r--http/init.c12
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")