Remove getopt_long_only macro from NetBSD header
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 20 Oct 2016 14:03:17 +0000 (23:03 +0900)
committerJens Axboe <axboe@fb.com>
Thu, 20 Oct 2016 14:10:08 +0000 (08:10 -0600)
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>
os/os-netbsd.h

index 4c629ddea9a03021c0df6c94116d00cf8158929b..1ef5866754c16c9585edbf00be3a4911a468f761 100644 (file)
@@ -74,7 +74,4 @@ static inline unsigned long long get_fs_free_size(const char *path)
 #define FIO_MADV_FREE  MADV_FREE
 #endif
 
 #define FIO_MADV_FREE  MADV_FREE
 #endif
 
-/* XXX NetBSD doesn't have getopt_long_only */
-#define        getopt_long_only        getopt_long
-
 #endif
 #endif