xfsprogs: Drop a typedef in db/metadump.c
PATCH 12/12 xfsprogs: Drop a typedef in db/metadump.c
Use struct name_ent rather than its typedef, and just drop the typedef entirely.
Signed-off-by Alex Elder <[email protected]>
--- db/metadump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
db/metadump.c +3 -3
@@ -337,12 +337,12 @@ copy_free_cnt_btree(/* filename and extended attribute obfuscation routines */ -typedef struct name_ent { +struct name_ent {struct name_ent *next;xfs_dahash_t hash;int namelen;uchar_t name[1 ]; -}name_ent_t ; +};#define NAME_TABLE_SIZE 4096
@@ -352,7 +352,7 @@ static voidnametable_clear (void) {int i; -name_ent_t *ent; +struct name_ent *ent;for (i =0 ; i <NAME_TABLE_SIZE ; i++) {while ((ent = nametable[i])) {
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs