summaryrefslogtreecommitdiff
path: root/os/os-mac.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-06 09:15:51 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-06 09:15:51 -0600
commit58d68a0dad21fb8aed34bb987e00b9b7dee65296 (patch)
tree5bc3c36e2d98955e57a29ff8cf2ca8621bfa6fea /os/os-mac.h
parent13e9c0b09c0c8d892b790aeaf736263dd76f2d2e (diff)
parent44f668d7ba3d82c1218951b8c9ed058bedb89e17 (diff)
downloadfio-58d68a0dad21fb8aed34bb987e00b9b7dee65296.tar.gz
fio-58d68a0dad21fb8aed34bb987e00b9b7dee65296.tar.bz2
Merge branch 'error-on-implicit-decl' of https://github.com/sitsofe/fio
* 'error-on-implicit-decl' of https://github.com/sitsofe/fio: configure: stop enabling fdatasync on OSX
Diffstat (limited to 'os/os-mac.h')
-rw-r--r--os/os-mac.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/os/os-mac.h b/os/os-mac.h
index a073300c..0d97f6b9 100644
--- a/os/os-mac.h
+++ b/os/os-mac.h
@@ -97,12 +97,6 @@ static inline int gettid(void)
}
#endif
-/*
- * For some reason, there's no header definition for fdatasync(), even
- * if it exists.
- */
-extern int fdatasync(int fd);
-
static inline bool fio_fallocate(struct fio_file *f, uint64_t offset, uint64_t len)
{
fstore_t store = {F_ALLOCATEALL, F_PEOFPOSMODE, offset, len};