2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>

PR 1556/cpukit
	* libfs/src/rfs/rtems-rfs-bitmaps.h,
	libfs/src/rfs/rtems-rfs-block-pos.h,
	libfs/src/rfs/rtems-rfs-buffer.h,
	libfs/src/rfs/rtems-rfs-file-system-fwd.h,
	libfs/src/rfs/rtems-rfs-file-system.h,
	libfs/src/rfs/rtems-rfs-file.h,
	libfs/src/rfs/rtems-rfs-format.h,
	libfs/src/rfs/rtems-rfs-group.h,
	libfs/src/rfs/rtems-rfs-inode.h:
	Rename "struct rtems_rfs_*_t" into "struct _rtems_rfs_*".
This commit is contained in:
Ralf Corsepius
2010-06-16 14:41:01 +00:00
parent 443ee5ac7c
commit 2d2f01da9d
10 changed files with 24 additions and 16 deletions

View File

@@ -1,6 +1,16 @@
2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1556/cpukit PR 1556/cpukit
* libfs/src/rfs/rtems-rfs-bitmaps.h,
libfs/src/rfs/rtems-rfs-block-pos.h,
libfs/src/rfs/rtems-rfs-buffer.h,
libfs/src/rfs/rtems-rfs-file-system-fwd.h,
libfs/src/rfs/rtems-rfs-file-system.h,
libfs/src/rfs/rtems-rfs-file.h,
libfs/src/rfs/rtems-rfs-format.h,
libfs/src/rfs/rtems-rfs-group.h,
libfs/src/rfs/rtems-rfs-inode.h:
Rename "struct rtems_rfs_*_t" into "struct _rtems_rfs_*".
* libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t. * libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t.
2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -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. * The bitmap control is a simple way to manage the various parts of a bitmap.
*/ */
struct rtems_rfs_bitmap_control_t typedef struct _rtems_rfs_bitmap_control
{ {
rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit
//map. //map.
@@ -110,9 +110,7 @@ struct rtems_rfs_bitmap_control_t
size_t free; //< Number of bits in the map that are size_t free; //< Number of bits in the map that are
//free (clear). //free (clear).
rtems_rfs_bitmap_map search_bits; //< The search bit map memory. rtems_rfs_bitmap_map search_bits; //< The search bit map memory.
}; } rtems_rfs_bitmap_control;
typedef struct rtems_rfs_bitmap_control_t rtems_rfs_bitmap_control;
/** /**
* Return the number of bits for the number of bytes provided. * Return the number of bits for the number of bytes provided.

View File

@@ -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 * block field can be used hold a block number for the position as a look up
* cache. * cache.
*/ */
typedef struct rtems_rfs_block_pos_t typedef struct _rtems_rfs_block_pos
{ {
/** /**
* The block index in the map. Range is from 0 to the maps block count minus * The block index in the map. Range is from 0 to the maps block count minus
@@ -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 * A block size is the number of blocks less one plus the offset where the
* offset must be less than the block size. * offset must be less than the block size.
*/ */
typedef struct rtems_rfs_block_size_t typedef struct _rtems_rfs_block_size
{ {
/** /**
* The count of blocks in a map. A 0 means no blocks and a zero length and * The count of blocks in a map. A 0 means no blocks and a zero length and

View File

@@ -60,7 +60,7 @@ int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* handle,
bool modified); bool modified);
#else /* Device I/O */ #else /* Device I/O */
typedef uint32_t rtems_rfs_buffer_block; typedef uint32_t rtems_rfs_buffer_block;
typedef struct rtems_rfs_buffer_t typedef struct _rtems_rfs_buffer
{ {
rtems_chain_node link; rtems_chain_node link;
rtems_rfs_buffer_block user; rtems_rfs_buffer_block user;

View File

@@ -21,7 +21,7 @@
/** /**
* Forward reference to the file system data. * Forward reference to the file system data.
*/ */
struct rtems_rfs_file_system_t; struct _rtems_rfs_file_system;
typedef struct rtems_rfs_file_system_t rtems_rfs_file_system; typedef struct _rtems_rfs_file_system rtems_rfs_file_system;
#endif #endif

View File

@@ -111,7 +111,7 @@ typedef int64_t rtems_rfs_pos_rel;
/** /**
* RFS File System data. * RFS File System data.
*/ */
struct rtems_rfs_file_system_t struct _rtems_rfs_file_system
{ {
/** /**
* Flags to control the file system. Some can be controlled via the ioctl. * Flags to control the file system. Some can be controlled via the ioctl.

View File

@@ -33,7 +33,7 @@
* the inode is not thrashed yet we meet the requirements of the POSIX * the inode is not thrashed yet we meet the requirements of the POSIX
* standard. The stat call needs to check the shared file data. * standard. The stat call needs to check the shared file data.
*/ */
typedef struct rtems_rfs_file_shared_t typedef struct _rtems_rfs_file_shared
{ {
/** /**
* The shared parts are maintained as a list. * The shared parts are maintained as a list.
@@ -175,7 +175,7 @@ rtems_rfs_file_shared_get_size (rtems_rfs_file_system* fs,
/** /**
* File data used to managed an open file. * File data used to managed an open file.
*/ */
typedef struct rtems_rfs_file_handle_t typedef struct _rtems_rfs_file_handle
{ {
/** /**
* Special flags that can be controlled by the fctrl call. * Special flags that can be controlled by the fctrl call.

View File

@@ -34,7 +34,7 @@ extern "C" {
* RFS File System Configuration data used to format the file system. For * RFS File System Configuration data used to format the file system. For
* default values leave the field set to 0. * default values leave the field set to 0.
*/ */
typedef struct rtems_rfs_format_config_t typedef struct _rtems_rfs_format_config
{ {
/** /**
* The size of a block. * The size of a block.

View File

@@ -37,7 +37,7 @@
* bit allocator for blocks in the group simpler plus is allows a simple way to * bit allocator for blocks in the group simpler plus is allows a simple way to
* localise access to files and directories. * localise access to files and directories.
*/ */
typedef struct rtems_rfs_group_t typedef struct _rtems_rfs_group
{ {
/** /**
* Base block number. * Base block number.

View File

@@ -95,7 +95,7 @@ typedef uint32_t rtems_rfs_inode_block;
/** /**
* The inode. * The inode.
*/ */
typedef struct rtems_rfs_inode_t typedef struct _rtems_rfs_inode
{ {
/** /**
* The number of links to the inode. * The number of links to the inode.
@@ -176,7 +176,7 @@ typedef struct rtems_rfs_inode_t
/** /**
* RFS Inode Handle. * RFS Inode Handle.
*/ */
typedef struct rtems_rfs_inode_handle_t typedef struct _rtems_rfs_inode_handle
{ {
/** /**
* Handles can be linked as a list for easy processing. * Handles can be linked as a list for easy processing.