summaryrefslogtreecommitdiff
path: root/os/os-netbsd.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2020-01-05 11:10:30 -0800
committerBart Van Assche <bvanassche@acm.org>2020-01-06 11:10:37 -0800
commit7e2a317e68abf1ca9946151ea61b6f1fc95a4686 (patch)
tree6a1124dd36249444dd21dd5fc82ee6782bcee1f1 /os/os-netbsd.h
parent585ef66edaacfd16a91b5ed94488f4ab2113f596 (diff)
downloadfio-7e2a317e68abf1ca9946151ea61b6f1fc95a4686.tar.gz
fio-7e2a317e68abf1ca9946151ea61b6f1fc95a4686.tar.bz2
Change off64_t into uint64_t
off64_t is Linux specific while uint64_t is defined by a C standard. This change makes fio easier to port. Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r--os/os-netbsd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index 88fb3ef1..abc1d3cb 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -35,8 +35,6 @@
#define fio_swap32(x) bswap32(x)
#define fio_swap64(x) bswap64(x)
-typedef off_t off64_t;
-
static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)
{
struct disklabel dl;