summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>2016-10-20 23:03:17 +0900
committerJens Axboe <axboe@fb.com>2016-10-20 08:10:08 -0600
commit047d1b55f5bab51c73b75d850c765242e25dbbfa (patch)
treeeecaff188886773abecc0f351467a3b567165605 /os
parent99350ae471e1271cae7bb3ef68b5ee0e11c21828 (diff)
downloadfio-047d1b55f5bab51c73b75d850c765242e25dbbfa.tar.gz
fio-047d1b55f5bab51c73b75d850c765242e25dbbfa.tar.bz2
Remove getopt_long_only macro from NetBSD header
If CONFIG_GETOPT_LONG_ONLY isn't defined, fio is compiled with its own getopt_long_only(), so this macro is no longer needed. (os/os-netbsd.h was added before getopt_long_only() support) Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'os')
-rw-r--r--os/os-netbsd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index 4c629dde..1ef58667 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -74,7 +74,4 @@ static inline unsigned long long get_fs_free_size(const char *path)
#define FIO_MADV_FREE MADV_FREE
#endif
-/* XXX NetBSD doesn't have getopt_long_only */
-#define getopt_long_only getopt_long
-
#endif