summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos_format.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 08:33:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 08:33:06 +0000
commit0a896eb9ce19799b55fec0c8add34846a9d0bd9a (patch)
tree02b015fa4b393bf70efc03d0d9a7c74f2a1d41ca /cpukit/libfs/src/dosfs/msdos_format.c
parentChange "done" to bool. (diff)
downloadrtems-0a896eb9ce19799b55fec0c8add34846a9d0bd9a.tar.bz2
Use "bool" instead of "rtems_boolean|boolean".
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_format.c')
-rw-r--r--cpukit/libfs/src/dosfs/msdos_format.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c
index bbd4689dc0..1d012c29f5 100644
--- a/cpukit/libfs/src/dosfs/msdos_format.c
+++ b/cpukit/libfs/src/dosfs/msdos_format.c
@@ -61,7 +61,7 @@ typedef struct {
uint8_t fattype;
char OEMName[FAT_BR_OEMNAME_SIZE+1];
char VolLabel[FAT_BR_VOLLAB_SIZE+1];
- boolean VolLabel_present;
+ bool VolLabel_present;
uint32_t vol_id;
} msdos_format_param_t;
@@ -217,8 +217,8 @@ static int msdos_format_eval_sectors_per_cluster
\*=========================================================================*/
{
- boolean finished = FALSE;
- int ret_val = 0;
+ bool finished = false;
+ int ret_val = 0;
uint32_t fatdata_cluster_cnt;
uint32_t fat_capacity;
uint32_t sectors_per_fat;
@@ -264,7 +264,7 @@ static int msdos_format_eval_sectors_per_cluster
sectors_per_cluster *= 2;
}
else {
- finished = TRUE;
+ finished = true;
}
/*
* when maximum cluster size is exceeded, we have invalid data, abort...
@@ -272,7 +272,7 @@ static int msdos_format_eval_sectors_per_cluster
if ((sectors_per_cluster * bytes_per_sector)
> MS_BYTES_PER_CLUSTER_LIMIT) {
ret_val = EINVAL;
- finished = TRUE;
+ finished = true;
}
} while (!finished);
@@ -583,7 +583,7 @@ static int msdos_format_determine_fmt_params
if ((rqdata != NULL) &&
(rqdata->VolLabel != NULL)) {
from = rqdata->VolLabel;
- fmt_params->VolLabel_present = TRUE;
+ fmt_params->VolLabel_present = true;
}
for (cnt = 0;
cnt < (sizeof(fmt_params->VolLabel)-1);