1Use off_t instead of __off_t 2 3__off_t is an internal C library type, which shouldn't be used by 4applications. It is not defined by the musl C library, so use the 5public off_t type instead. 6 7Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8 9Index: b/ftpfs.c 10=================================================================== 11--- a/ftpfs.c 12+++ b/ftpfs.c 13@@ -687,7 +687,7 @@ 14 return ftpfs_getattr(path, &sbuf); 15 } 16 17-static __off_t test_size(const char* path) 18+static off_t test_size(const char* path) 19 { 20 struct stat sbuf; 21 int err = ftpfs_getattr(path, &sbuf); 22@@ -950,7 +950,7 @@ 23 24 /* fix openoffice problem, truncating exactly to file length */ 25 26- __off_t size = (long long int)test_size(path); 27+ off_t size = (long long int)test_size(path); 28 DEBUG(1, "ftpfs_truncate: %s check filesize=%lld\n", path, (long long int)size); 29 30 if (offset == size) 31@@ -978,7 +978,7 @@ 32 } 33 /* fix openoffice problem, truncating exactly to file length */ 34 35- __off_t size = test_size(path); 36+ off_t size = test_size(path); 37 DEBUG(1, "ftpfs_ftruncate: %s check filesize=%lld\n", path, (long long int)size); 38 39 if (offset == size) 40