From 047d1b55f5bab51c73b75d850c765242e25dbbfa Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Thu, 20 Oct 2016 23:03:17 +0900 Subject: [PATCH 1/1] 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 Signed-off-by: Jens Axboe --- os/os-netbsd.h | 3 --- 1 file changed, 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 -- 2.25.1