summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-20 07:16:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-20 07:16:02 +0000
commit291557bba2c43ca6a6b27e6cd1c22d3f62a3b5a5 (patch)
tree3b55d5e73ca81d2d13c07fd55dec1741ab002f32 /cpukit
parent2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-291557bba2c43ca6a6b27e6cd1c22d3f62a3b5a5.tar.bz2
2008-08-2008 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes with C99/POSIX).
Diffstat (limited to 'cpukit')
-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