summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/ide_part_table.c
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 /cpukit/libblock/src/ide_part_table.c
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.
Diffstat (limited to 'cpukit/libblock/src/ide_part_table.c')
-rw-r--r--cpukit/libblock/src/ide_part_table.c6
1 files changed, 3 insertions, 3 deletions
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[] = {