summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libblock/src/nvdisk.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6c23e86913..52424fbeae 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-2008 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
+ with C99/POSIX).
+
2008-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 500/misc
diff --git a/cpukit/libblock/src/nvdisk.c b/cpukit/libblock/src/nvdisk.c
index 5c96cdeded..80a3b75ad1 100644
--- a/cpukit/libblock/src/nvdisk.c
+++ b/cpukit/libblock/src/nvdisk.c
@@ -55,13 +55,6 @@
#endif
/**
- * Provide a basic boolean type.
- */
-#define bool int
-#define true (1)
-#define false (0)
-
-/**
* NV Device Control holds the segment controls
*/
typedef struct rtems_nvdisk_device_ctl