summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:34 +0000
commita5b6cdda583b5afd8fa7ded7ccefc9082da36f3d (patch)
treedfd77fcea8c11f4af433c4db1acf8926ee5c3d16 /cpukit/libfs/src/dosfs/msdos.h
parent2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-a5b6cdda583b5afd8fa7ded7ccefc9082da36f3d.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos.h')
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h
index f420201788..0c98cc3446 100644
--- a/cpukit/libfs/src/dosfs/msdos.h
+++ b/cpukit/libfs/src/dosfs/msdos.h
@@ -83,22 +83,22 @@ typedef rtems_filesystem_node_types_t msdos_node_type_t;
*/
#define MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE 32 /* 32 bytes */
-#define MSDOS_DIR_NAME(x) (char *)((x) + 0)
-#define MSDOS_DIR_ATTR(x) (uint8_t *)((x) + 11)
-#define MSDOS_DIR_NT_RES(x) (uint8_t *)((x) + 12)
-#define MSDOS_DIR_CRT_TIME_TENTH(x) (uint8_t *)((x) + 13)
-#define MSDOS_DIR_CRT_TIME(x) (uint16_t *)((x) + 14)
-#define MSDOS_DIR_CRT_DATE(x) (uint16_t *)((x) + 16)
-#define MSDOS_DIR_LAST_ACCESS_DATE(x) (uint16_t *)((x) + 18)
-#define MSDOS_DIR_FIRST_CLUSTER_HI(x) (uint16_t *)((x) + 20)
-#define MSDOS_DIR_WRITE_TIME(x) (uint16_t *)((x) + 22)
-#define MSDOS_DIR_WRITE_DATE(x) (uint16_t *)((x) + 24)
-#define MSDOS_DIR_FIRST_CLUSTER_LOW(x) (uint16_t *)((x) + 26)
-#define MSDOS_DIR_FILE_SIZE(x) (uint32_t *)((x) + 28)
+#define MSDOS_DIR_NAME(x) (char *)((x) + 0)
+#define MSDOS_DIR_ATTR(x) (uint8_t *)((x) + 11)
+#define MSDOS_DIR_NT_RES(x) (uint8_t *)((x) + 12)
+#define MSDOS_DIR_CRT_TIME_TENTH(x) (uint8_t *)((x) + 13)
+#define MSDOS_DIR_CRT_TIME(x) (uint16_t *)((x) + 14)
+#define MSDOS_DIR_CRT_DATE(x) (uint16_t *)((x) + 16)
+#define MSDOS_DIR_LAST_ACCESS_DATE(x) (uint16_t *)((x) + 18)
+#define MSDOS_DIR_FIRST_CLUSTER_HI(x) (uint16_t *)((x) + 20)
+#define MSDOS_DIR_WRITE_TIME(x) (uint16_t *)((x) + 22)
+#define MSDOS_DIR_WRITE_DATE(x) (uint16_t *)((x) + 24)
+#define MSDOS_DIR_FIRST_CLUSTER_LOW(x) (uint16_t *)((x) + 26)
+#define MSDOS_DIR_FILE_SIZE(x) (uint32_t *)((x) + 28)
#define MSDOS_EXTRACT_CLUSTER_NUM(p) \
- (uint32_t )( (CF_LE_W(*MSDOS_DIR_FIRST_CLUSTER_LOW(p))) | \
- ((uint32_t )(CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
+ (uint32_t)( (CF_LE_W(*MSDOS_DIR_FIRST_CLUSTER_LOW(p))) | \
+ ((uint32_t)(CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
/*
* Fields offset in 32 bytes long FAT Directory Entry