summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-16 14:41:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-16 14:41:01 +0000
commit2d2f01da9d06dbb166afaa0dd25d8e5d8e869c17 (patch)
treee3222193e2066e70ade2bcada36be35ff17645c1 /cpukit/libfs
parent2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-2d2f01da9d06dbb166afaa0dd25d8e5d8e869c17.tar.bz2
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_*".
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h6
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block-pos.h4
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.h2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h4
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file-system.h2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file.h4
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-format.h2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-group.h2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-inode.h4
9 files changed, 14 insertions, 16 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h b/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h
index 8fe9ab7c9b..c01ea9255a 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.
*/
-struct rtems_rfs_bitmap_control_t
+typedef struct _rtems_rfs_bitmap_control
{
rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit
//map.
@@ -110,9 +110,7 @@ struct rtems_rfs_bitmap_control_t
size_t free; //< Number of bits in the map that are
//free (clear).
rtems_rfs_bitmap_map search_bits; //< The search bit map memory.
-};
-
-typedef struct rtems_rfs_bitmap_control_t rtems_rfs_bitmap_control;
+} rtems_rfs_bitmap_control;
/**
* Return the number of bits for the number of bytes provided.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h b/cpukit/libfs/src/rfs/rtems-rfs-block-pos.h
index 5a9d2ead64..79c55f9874 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_t
+typedef struct _rtems_rfs_block_pos
{
/**
* 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
* 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
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.h b/cpukit/libfs/src/rfs/rtems-rfs-buffer.h
index a93a900332..ccfc0ea887 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.h
@@ -60,7 +60,7 @@ int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* handle,
bool modified);
#else /* Device I/O */
typedef uint32_t rtems_rfs_buffer_block;
-typedef struct rtems_rfs_buffer_t
+typedef struct _rtems_rfs_buffer
{
rtems_chain_node link;
rtems_rfs_buffer_block user;
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h b/cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h
index 7309c60cfd..8c39944486 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h
@@ -21,7 +21,7 @@
/**
* Forward reference to the file system data.
*/
-struct rtems_rfs_file_system_t;
-typedef struct rtems_rfs_file_system_t rtems_rfs_file_system;
+struct _rtems_rfs_file_system;
+typedef struct _rtems_rfs_file_system rtems_rfs_file_system;
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
index 0a137295d4..ceedd010f8 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
@@ -111,7 +111,7 @@ typedef int64_t rtems_rfs_pos_rel;
/**
* 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.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.h b/cpukit/libfs/src/rfs/rtems-rfs-file.h
index 8467bc951b..54a2187df3 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file.h
@@ -33,7 +33,7 @@
* the inode is not thrashed yet we meet the requirements of the POSIX
* 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.
@@ -175,7 +175,7 @@ rtems_rfs_file_shared_get_size (rtems_rfs_file_system* fs,
/**
* 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.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-format.h b/cpukit/libfs/src/rfs/rtems-rfs-format.h
index 41da50781e..48d65c9165 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-format.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-format.h
@@ -34,7 +34,7 @@ extern "C" {
* RFS File System Configuration data used to format the file system. For
* 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.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-group.h b/cpukit/libfs/src/rfs/rtems-rfs-group.h
index f44bf7812f..1ec0107f89 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-group.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-group.h
@@ -37,7 +37,7 @@
* bit allocator for blocks in the group simpler plus is allows a simple way to
* localise access to files and directories.
*/
-typedef struct rtems_rfs_group_t
+typedef struct _rtems_rfs_group
{
/**
* Base block number.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-inode.h b/cpukit/libfs/src/rfs/rtems-rfs-inode.h
index 89c8f88ffe..5ac2868859 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-inode.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-inode.h
@@ -95,7 +95,7 @@ typedef uint32_t rtems_rfs_inode_block;
/**
* The inode.
*/
-typedef struct rtems_rfs_inode_t
+typedef struct _rtems_rfs_inode
{
/**
* The number of links to the inode.
@@ -176,7 +176,7 @@ typedef struct rtems_rfs_inode_t
/**
* 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.