@@ -134,7 +134,6 @@ typedef signed long long int __s64;
#define __uint16_t u_int16_t
#define __uint32_t u_int32_t
#define __uint64_t u_int64_t
-#define off64_t off_t
typedef off_t xfs_off_t;
typedef u_int64_t xfs_ino_t;
@@ -41,7 +41,6 @@
#define EFSBADCRC 991 /* Bad CRC detected */
typedef off_t xfs_off_t;
-typedef off_t off64_t;
typedef __uint64_t xfs_ino_t;
typedef __uint32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
@@ -43,7 +43,7 @@
#define __int16_t short
#define __uint8_t unsigned char
#define __uint16_t unsigned short
-typedef off64_t xfs_off_t;
+typedef off_t xfs_off_t;
typedef __int64_t xfs_ino_t;
typedef __int32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
@@ -137,7 +137,7 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len)
#define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
#define EFSBADCRC EBADMSG /* Bad CRC detected */
-typedef off64_t xfs_off_t;
+typedef off_t xfs_off_t;
typedef __uint64_t xfs_ino_t;
typedef __uint32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
Since we force transparent LFS for downstreams, it can be replaced by off_t. Signed-off-by: Felix Janda <felix.janda@posteo.de> --- include/darwin.h | 1 - include/freebsd.h | 1 - include/irix.h | 2 +- include/linux.h | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-)