On Sun, Jun 21, 2015 at 11:21:58AM +0200, Christoph Hellwig wrote:
> Replace them with the standards conform intptr_t and uintptr_t. Note
> that many uses look rather questionable cargo-cult avoidance of pointer
> arithmetics, but let's leave that for now and look at it separately.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> db/bit.c | 8 ++++----
> db/check.c | 6 +++---
> db/field.c | 8 ++++----
> db/field.h | 6 +++---
> include/platform_defs.h.in | 36 ------------------------------------
> logprint/log_misc.c | 2 +-
> m4/package_types.m4 | 28 ----------------------------
> repair/agheader.c | 2 +-
> repair/attr_repair.c | 6 +++---
> repair/avl.c | 36 ++++++++++++++++++------------------
> repair/avl.h | 18 +++++++++---------
> repair/dir2.c | 16 ++++++++--------
> repair/incore_ext.c | 20 ++++++++++----------
> repair/incore_ino.c | 8 ++++----
> repair/phase6.c | 30 +++++++++++++++---------------
> 15 files changed, 83 insertions(+), 147 deletions(-)
there's a couple of extra bits that need to be removed in
configure.ac. I'll clean them up before committing:
....
autoconf
configure.ac:119: error: possibly undefined macro: AC_TYPE_PSINT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:120: error: possibly undefined macro: AC_TYPE_PSUNSIGNED
Makefile:87: recipe for target 'configure' failed
make: *** [configure] Error 1
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
|