diff options
-rw-r--r-- | cpukit/ChangeLog | 10 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-bitmaps.h | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-block-pos.h | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-buffer.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system-fwd.h | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file.h | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-format.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-group.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-inode.h | 4 |
10 files changed, 24 insertions, 16 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f28e5f8373..6aafa81cf7 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,6 +1,16 @@ 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_*". * libfs/src/rfs/rtems-rfs-shell.c: Remove rtems_rfs_shell_cmd_t. 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org> 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. |