From: Christoph Hellwig Date: Thu, 30 Jul 2015 23:21:58 +0000 (+1000) Subject: xfsprogs: remove non-Linux defintions for loff_t X-Git-Tag: v4.2.0-rc1~4^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34a1c917f59230cc07ce2001517cea2145f35ebc;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: remove non-Linux defintions for loff_t We don't use loff_t anywhere in xfsprogs, so no need to define it. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/include/darwin.h b/include/darwin.h index 3655d4077..ec8cb4fde 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -118,7 +118,6 @@ static __inline__ void platform_uuid_copy(uuid_t *dst, uuid_t *src) #define __uint16_t u_int16_t #define __uint32_t u_int32_t #define __uint64_t u_int64_t -#define loff_t off_t #define off64_t off_t typedef off_t xfs_off_t; diff --git a/include/freebsd.h b/include/freebsd.h index 244b01236..0ae126256 100644 --- a/include/freebsd.h +++ b/include/freebsd.h @@ -53,7 +53,6 @@ typedef __uint64_t xfs_ino_t; typedef __uint32_t xfs_dev_t; typedef __int64_t xfs_daddr_t; typedef char* xfs_caddr_t; -typedef off_t loff_t; #define O_LARGEFILE 0 diff --git a/include/gnukfreebsd.h b/include/gnukfreebsd.h index 1e712a5a6..605da6694 100644 --- a/include/gnukfreebsd.h +++ b/include/gnukfreebsd.h @@ -43,7 +43,6 @@ typedef __uint64_t xfs_ino_t; typedef __uint32_t xfs_dev_t; typedef __int64_t xfs_daddr_t; typedef char* xfs_caddr_t; -typedef off_t loff_t; #define HAVE_FID 1 diff --git a/include/irix.h b/include/irix.h index ad6dbfed7..ea1f21917 100644 --- a/include/irix.h +++ b/include/irix.h @@ -42,7 +42,6 @@ #define __int16_t short #define __uint8_t unsigned char #define __uint16_t unsigned short -#define loff_t off64_t typedef off64_t xfs_off_t; typedef __int64_t xfs_ino_t; typedef __int32_t xfs_dev_t;