summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-06-17 03:09:00 +0000
committerChris Johns <chrisj@rtems.org>2010-06-17 03:09:00 +0000
commitb177ebb78843e0a46761f20a3012d55c33ddfe81 (patch)
treeaa3791997079d954b624f78cd36dd2534a390ac2 /cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
parent2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b177ebb78843e0a46761f20a3012d55c33ddfe81.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/src/rfs/rtems-rfs-block-pos.h')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block-pos.h8
1 files changed, 4 insertions, 4 deletions
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