From: Tomohiro Kusumi Date: Thu, 20 Oct 2016 14:03:17 +0000 (+0900) Subject: Remove getopt_long_only macro from NetBSD header X-Git-Tag: fio-2.15~7 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=047d1b55f5bab51c73b75d850c765242e25dbbfa;hp=99350ae471e1271cae7bb3ef68b5ee0e11c21828 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 --- 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