summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-25 15:07:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-25 15:07:58 +0000
commite03c37ae5b2885a48679ceb3bee6e4d23e44f057 (patch)
tree9bfe6071bc618ee76d3094bc6a2c621ae9b10055
parentChanged invalid usage of a boolean type to a proper integer type in calc_dbat... (diff)
downloadrtems-e03c37ae5b2885a48679ceb3bee6e4d23e44f057.tar.bz2
s/rtems_boolean/bool/g.
-rw-r--r--cpukit/libblock/src/bdbuf.c2
-rw-r--r--cpukit/libblock/src/diskdevs.c2
-rw-r--r--cpukit/libblock/src/ide_part_table.c6
-rw-r--r--cpukit/libblock/src/ramdisk.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c
index 57b90d7cef..3856511200 100644
--- a/cpukit/libblock/src/bdbuf.c
+++ b/cpukit/libblock/src/bdbuf.c
@@ -2440,7 +2440,7 @@ rtems_bdbuf_find_pool (uint32_t block_size, rtems_bdpool_id *pool)
rtems_bdbuf_pool* p;
rtems_bdpool_id i;
rtems_bdpool_id curid = -1;
- rtems_boolean found = FALSE;
+ bool found = FALSE;
uint32_t cursize = UINT_MAX;
int j;
diff --git a/cpukit/libblock/src/diskdevs.c b/cpukit/libblock/src/diskdevs.c
index b04e08818c..6fcedd51ac 100644
--- a/cpukit/libblock/src/diskdevs.c
+++ b/cpukit/libblock/src/diskdevs.c
@@ -51,7 +51,7 @@ static boolean disk_io_initialized = FALSE;
* semaphore-protected code. If it is not set (very-very frequent case),
* we can do lookup safely, enable interrupts and return result.
*/
-static volatile rtems_boolean diskdevs_protected;
+static volatile bool diskdevs_protected;
/* create_disk_entry --
* Return pointer to the disk_entry structure for the specified device, or
diff --git a/cpukit/libblock/src/ide_part_table.c b/cpukit/libblock/src/ide_part_table.c
index 5d44c9a960..0a55a19ef6 100644
--- a/cpukit/libblock/src/ide_part_table.c
+++ b/cpukit/libblock/src/ide_part_table.c
@@ -91,7 +91,7 @@ get_sector(dev_t dev, uint32_t sector_num, rtems_sector_data_t **sector)
* RETURNS:
* TRUE if sector has msdos signature, FALSE otherwise
*/
-static rtems_boolean
+static bool
msdos_signature_check (rtems_sector_data_t *sector)
{
uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
@@ -111,7 +111,7 @@ msdos_signature_check (rtems_sector_data_t *sector)
* RETURNS:
* TRUE if partition type is extended, FALSE otherwise
*/
-static rtems_boolean
+static bool
is_extended(uint8_t type)
{
return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
@@ -127,7 +127,7 @@ is_extended(uint8_t type)
* RETURNS:
* TRUE if partition type is extended, FALSE otherwise
*/
-static rtems_boolean
+static bool
is_fat_partition(uint8_t type)
{
static const uint8_t fat_part_types[] = {
diff --git a/cpukit/libblock/src/ramdisk.c b/cpukit/libblock/src/ramdisk.c
index 6ec3b13386..7d7546772b 100644
--- a/cpukit/libblock/src/ramdisk.c
+++ b/cpukit/libblock/src/ramdisk.c
@@ -37,8 +37,8 @@ struct ramdisk {
int block_size; /* RAM disk block size */
int block_num; /* Number of blocks on this RAM disk */
void *area; /* RAM disk memory area */
- rtems_boolean initialized;/* RAM disk is initialized */
- rtems_boolean malloced; /* != 0, if memory allocated by malloc for this
+ bool initialized;/* RAM disk is initialized */
+ bool malloced; /* != 0, if memory allocated by malloc for this
RAM disk */
#if RTEMS_RAMDISK_TRACE
int info_level; /* Trace level */