We don't use loff_t anywhere in xfsprogs, so no need to define it. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- include/darwin.h | 1 - include/freebsd.h | 1 - include/gnukfreebsd.h | 1 - include/irix.h | 1 - 4 files changed, 4 deletions(-) diff --git a/include/darwin.h b/include/darwin.h index 3655d40..ec8cb4f 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 244b012..0ae1262 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 978a257..6882cfe 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 ad6dbfe..ea1f219 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; -- 1.9.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs