]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libfrog/avl64.c
xfsprogs: remove double-underscore integer types
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 Aug 2017 21:33:51 +0000 (16:33 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 4 Aug 2017 21:33:51 +0000 (16:33 -0500)
commit14f8b6810bd240cc58131483790a099fcf56c073
tree273c543ce9085ddec891aaebe125f6935d614298
parente66eae017775ddc7bcb65cac6a4b24434b5f651f
xfsprogs: 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: Carlos Maiolino <cmaiolino@redhat.com>
[sandeen: fix whitespace incidentals]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
80 files changed:
copy/xfs_copy.c
copy/xfs_copy.h
db/attr.c
db/attrshort.c
db/bit.c
db/bit.h
db/block.c
db/check.c
db/convert.c
db/faddr.c
db/field.c
db/fprint.c
db/frag.c
db/inode.c
db/io.c
db/io.h
db/metadump.c
db/sb.c
fsr/xfs_fsr.c
include/darwin.h
include/freebsd.h
include/gnukfreebsd.h
include/libxcmd.h
include/linux.h
include/xfs_arch.h
include/xfs_inode.h
include/xfs_log_recover.h
include/xfs_metadump.h
include/xfs_mount.h
libhandle/handle.c
libhandle/jdm.c
libxcmd/topology.c
libxfs/darwin.c
libxfs/freebsd.c
libxfs/init.c
libxfs/irix.c
libxfs/libxfs_priv.h
libxfs/linux.c
libxfs/logitem.c
libxfs/radix-tree.c
libxfs/rdwr.c
libxfs/util.c
logprint/log_misc.c
mdrestore/xfs_mdrestore.c
mkfs/proto.c
mkfs/xfs_mkfs.c
quota/edit.c
quota/free.c
quota/quot.c
quota/quota.c
quota/quota.h
quota/report.c
quota/state.c
quota/util.c
repair/README
repair/agheader.h
repair/attr_repair.h
repair/avl64.c
repair/avl64.h
repair/dinode.c
repair/dinode.h
repair/dir2.c
repair/globals.h
repair/incore.c
repair/incore.h
repair/incore_ext.c
repair/incore_ino.c
repair/phase2.c
repair/phase3.c
repair/phase4.c
repair/phase5.c
repair/phase6.c
repair/phase7.c
repair/progress.c
repair/progress.h
repair/rmap.c
repair/rmap.h
repair/sb.c
repair/scan.c
repair/scan.h