summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
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
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')
-rw-r--r--cpukit/libfs/src/dosfs/fat.h10
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h28
-rw-r--r--cpukit/libfs/src/imfs/deviceio.c2
3 files changed, 20 insertions, 20 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h
index 2e00ef939a..4272437ab9 100644
--- a/cpukit/libfs/src/dosfs/fat.h
+++ b/cpukit/libfs/src/dosfs/fat.h
@@ -76,24 +76,24 @@ extern "C" {
#define FAT_FAT16 0x02
#define FAT_FAT32 0x04
-#define FAT_UNDEFINED_VALUE (uint32_t )0xFFFFFFFF
+#define FAT_UNDEFINED_VALUE (uint32_t)0xFFFFFFFF
#define FAT_FAT12_EOC 0x0FF8
#define FAT_FAT16_EOC 0xFFF8
-#define FAT_FAT32_EOC (uint32_t )0x0FFFFFF8
+#define FAT_FAT32_EOC (uint32_t)0x0FFFFFF8
#define FAT_FAT12_FREE 0x0000
#define FAT_FAT16_FREE 0x0000
#define FAT_FAT32_FREE 0x00000000
-#define FAT_GENFAT_EOC (uint32_t )0xFFFFFFFF
-#define FAT_GENFAT_FREE (uint32_t )0x00000000
+#define FAT_GENFAT_EOC (uint32_t)0xFFFFFFFF
+#define FAT_GENFAT_FREE (uint32_t)0x00000000
#define FAT_FAT12_SHIFT 0x04
#define FAT_FAT12_MASK 0x00000FFF
#define FAT_FAT16_MASK 0x0000FFFF
-#define FAT_FAT32_MASK (uint32_t )0x0FFFFFFF
+#define FAT_FAT32_MASK (uint32_t)0x0FFFFFFF
#define FAT_MAX_BPB_SIZE 90
#define FAT_TOTAL_MBR_SIZE 512
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
diff --git a/cpukit/libfs/src/imfs/deviceio.c b/cpukit/libfs/src/imfs/deviceio.c
index d999171d0b..5d8c383b89 100644
--- a/cpukit/libfs/src/imfs/deviceio.c
+++ b/cpukit/libfs/src/imfs/deviceio.c
@@ -48,7 +48,7 @@ rtems_deviceio_errno(rtems_status_code code)
{
int rc;
- if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t ) code)))
+ if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t) code)))
{
errno = rc;
return -1;