summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-06-17 04:38:29 +0000
committerChris Johns <chrisj@rtems.org>2010-06-17 04:38:29 +0000
commit2668de20c7f83660b483d5e61fe7b5119e842b68 (patch)
tree11ac7c72f537efa2fc959d346ed0f34434e1c881 /cpukit/libfs
parent2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-2668de20c7f83660b483d5e61fe7b5119e842b68.tar.bz2
2010-06-17 Chris Johns <chrisj@rtems.org>
libfs/src/rfs/rtems-rfs-bitmaps.h, libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block-pos.h8
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h b/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h
index c01ea9255a..50759b529d 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h
@@ -99,7 +99,7 @@ typedef rtems_rfs_bitmap_element* rtems_rfs_bitmap_map;
/**
* The bitmap control is a simple way to manage the various parts of a bitmap.
*/
-typedef struct _rtems_rfs_bitmap_control
+typedef struct rtems_rfs_bitmap_control_s
{
rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit
//map.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h b/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
index 79c55f9874..bae67def3e 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
@@ -47,7 +47,7 @@ typedef uint32_t rtems_rfs_block_off;
* block field can be used hold a block number for the position as a look up
* cache.
*/
-typedef struct _rtems_rfs_block_pos
+typedef struct rtems_rfs_block_pos_s
{
/**
* The block index in the map. Range is from 0 to the maps block count minus
@@ -110,8 +110,8 @@ void rtems_rfs_block_get_bpos (rtems_rfs_file_system* fs,
* @param bpos Pointer to the block position to fill in.
* @return rtems_rfs_pos The absolute offset.
*/
-rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs,
- rtems_rfs_block_pos* bpos);
+rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs,
+ rtems_rfs_block_pos* bpos);
/**
* Add the relative position to the block position. The relative position is
@@ -136,7 +136,7 @@ rtems_rfs_block_add_pos (rtems_rfs_file_system* fs,
* A block size is the number of blocks less one plus the offset where the
* offset must be less than the block size.
*/
-typedef struct _rtems_rfs_block_size
+typedef struct rtems_rfs_block_size_s
{
/**
* The count of blocks in a map. A 0 means no blocks and a zero length and
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-block.h b/cpukit/libfs/src/rfs/rtems-rfs-block.h
index 5b8dad6d4c..79060f8a4c 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-block.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-block.h
@@ -86,7 +86,7 @@
* @li 2,684,354,560 bytes for a 2048 byte block size, and
* @li 21,474,836,480 bytes for a 4096 byte block size.
*/
-typedef struct rtems_rfs_block_map_t
+typedef struct rtems_rfs_block_map_s
{
/**
* Is the map dirty ?