From: Felix Janda Date: Tue, 1 Nov 2016 01:39:20 +0000 (+1100) Subject: platform: remove use of off64_t X-Git-Tag: v4.9.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b4f302b7a1ddc14684ffbf8690227a67362586;p=thirdparty%2Fxfsprogs-dev.git platform: remove use of off64_t Since we force transparent LFS it can be replaced by off_t. Signed-off-by: Felix Janda Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- diff --git a/include/darwin.h b/include/darwin.h index 8a2f67c35..7bbd57649 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -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; diff --git a/include/freebsd.h b/include/freebsd.h index c6eb63a98..fb318b891 100644 --- a/include/freebsd.h +++ b/include/freebsd.h @@ -50,7 +50,6 @@ typedef unsigned long long int __u64; typedef signed long long int __s64; 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; diff --git a/include/irix.h b/include/irix.h index 8bbcbd856..23f8b779a 100644 --- a/include/irix.h +++ b/include/irix.h @@ -53,7 +53,7 @@ typedef signed int __s32; typedef unsigned long long int __u64; typedef signed long long int __s64; -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; diff --git a/include/linux.h b/include/linux.h index e26388b2e..6a676cad8 100644 --- a/include/linux.h +++ b/include/linux.h @@ -143,7 +143,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;