summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat.h
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/fat.h
parentChange "done" to bool. (diff)
downloadrtems-0a896eb9ce19799b55fec0c8add34846a9d0bd9a.tar.bz2
Use "bool" instead of "rtems_boolean|boolean".
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/dosfs/fat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h
index 244e57f087..2e00ef939a 100644
--- a/cpukit/libfs/src/dosfs/fat.h
+++ b/cpukit/libfs/src/dosfs/fat.h
@@ -17,10 +17,6 @@
#ifndef __DOSFS_FAT_H__
#define __DOSFS_FAT_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <string.h>
#include <rtems/seterr.h>
@@ -29,6 +25,10 @@ extern "C" {
#include <errno.h>
#include <rtems/bdbuf.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef RC_OK
#define RC_OK 0
#endif
@@ -328,7 +328,7 @@ typedef struct fat_vol_s
typedef struct fat_cache_s
{
uint32_t blk_num;
- rtems_boolean modified;
+ bool modified;
uint8_t state;
rtems_bdbuf_buffer *buf;
} fat_cache_t;
@@ -413,7 +413,7 @@ fat_cluster_num_to_sector512_num(
static inline void
fat_buf_mark_modified(fat_fs_info_t *fs_info)
{
- fs_info->c.modified = TRUE;
+ fs_info->c.modified = true;
}
int
@@ -465,7 +465,7 @@ fat_shutdown_drive(rtems_filesystem_mount_table_entry_t *mt_entry);
uint32_t
fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry);
-rtems_boolean
+bool
fat_ino_is_unique(rtems_filesystem_mount_table_entry_t *mt_entry,
uint32_t ino);