xfs: remove double-underscore integer types
This is a purely mechanical patch that removes the private __{u,}int{8,16,32,64}_t typedefs in favor of using the system {u,}int{8,16,32,64}_t typedefs. This is the sed script used to perform the transformation and fix the resulting whitespace and indentation errors: s/typedef\t__uint8_t/typedef __uint8_t\t/g s/typedef\t__uint/typedef __uint/g s/typedef\t__int\([0-9]*\)_t/typedef int\1_t\t/g s/__uint8_t\t/__uint8_t\t\t/g s/__uint/uint/g s/__int\([0-9]*\)_t\t/__int\1_t\t\t/g s/__int/int/g /^typedef.*int[0-9]*_t;$/d Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -47,9 +47,9 @@ struct xfs_dir_ops {
|
||||
struct xfs_dir2_sf_entry *
|
||||
(*sf_nextentry)(struct xfs_dir2_sf_hdr *hdr,
|
||||
struct xfs_dir2_sf_entry *sfep);
|
||||
__uint8_t (*sf_get_ftype)(struct xfs_dir2_sf_entry *sfep);
|
||||
uint8_t (*sf_get_ftype)(struct xfs_dir2_sf_entry *sfep);
|
||||
void (*sf_put_ftype)(struct xfs_dir2_sf_entry *sfep,
|
||||
__uint8_t ftype);
|
||||
uint8_t ftype);
|
||||
xfs_ino_t (*sf_get_ino)(struct xfs_dir2_sf_hdr *hdr,
|
||||
struct xfs_dir2_sf_entry *sfep);
|
||||
void (*sf_put_ino)(struct xfs_dir2_sf_hdr *hdr,
|
||||
@@ -60,9 +60,9 @@ struct xfs_dir_ops {
|
||||
xfs_ino_t ino);
|
||||
|
||||
int (*data_entsize)(int len);
|
||||
__uint8_t (*data_get_ftype)(struct xfs_dir2_data_entry *dep);
|
||||
uint8_t (*data_get_ftype)(struct xfs_dir2_data_entry *dep);
|
||||
void (*data_put_ftype)(struct xfs_dir2_data_entry *dep,
|
||||
__uint8_t ftype);
|
||||
uint8_t ftype);
|
||||
__be16 * (*data_entry_tag_p)(struct xfs_dir2_data_entry *dep);
|
||||
struct xfs_dir2_data_free *
|
||||
(*data_bestfree_p)(struct xfs_dir2_data_hdr *hdr);
|
||||
|
Reference in New Issue
Block a user