diff options
author | Chris Johns <chrisj@rtems.org> | 2010-06-17 03:09:00 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2010-06-17 03:09:00 +0000 |
commit | b177ebb78843e0a46761f20a3012d55c33ddfe81 (patch) | |
tree | aa3791997079d954b624f78cd36dd2534a390ac2 /cpukit | |
parent | 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-block-pos.h | 8 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-block.h | 2 |
4 files changed, 12 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 699d5620db..12fdccbf62 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +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. + 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> * libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes. 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 ? |