summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat_file.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-12-21 20:12:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-01-22 07:52:40 +0100
commitc625a641218fbda23582354b3cfc7a7c7a4e4287 (patch)
tree82853d039ebb88fb4e7afe0b572c1d072a3f4d00 /cpukit/libfs/src/dosfs/fat_file.h
parentpowerpc: Fix AltiVec VSCR save/restore (diff)
downloadrtems-c625a641218fbda23582354b3cfc7a7c7a4e4287.tar.bz2
Filesystem: Delete node type operation
Use the fstat handler instead.
Diffstat (limited to 'cpukit/libfs/src/dosfs/fat_file.h')
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libfs/src/dosfs/fat_file.h b/cpukit/libfs/src/dosfs/fat_file.h
index 1a75cf75ce..9905757e6f 100644
--- a/cpukit/libfs/src/dosfs/fat_file.h
+++ b/cpukit/libfs/src/dosfs/fat_file.h
@@ -37,6 +37,11 @@
extern "C" {
#endif
+typedef enum {
+ FAT_DIRECTORY = 0,
+ FAT_FILE = 4
+} fat_file_type_t;
+
/**
* @brief The "fat-file" representation.
*
@@ -52,11 +57,6 @@ extern "C" {
* Such interface hides the architecture of fat-file and represents it like
* linear file
*/
-typedef rtems_filesystem_node_types_t fat_file_type_t;
-
-#define FAT_DIRECTORY RTEMS_FILESYSTEM_DIRECTORY
-#define FAT_FILE RTEMS_FILESYSTEM_MEMORY_FILE
-
typedef struct fat_file_map_s
{
uint32_t file_cln;