From 5ffd238aa506990cf3ca5d2368bb8996acf7d311 Mon Sep 17 00:00:00 2001 From: tjr Date: Thu, 29 Jul 2004 03:29:44 +0000 Subject: [PATCH] Remove partial support for building this on NetBSD. --- usr.bin/find/extern.h | 2 -- usr.bin/find/function.c | 2 -- usr.bin/find/option.c | 6 ------ 3 files changed, 10 deletions(-) diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h index 0e01f8233b34..2ee85102688b 100644 --- a/usr.bin/find/extern.h +++ b/usr.bin/find/extern.h @@ -60,9 +60,7 @@ creat_f c_empty; creat_f c_exec; creat_f c_flags; creat_f c_follow; -#if !defined(__NetBSD__) creat_f c_fstype; -#endif creat_f c_group; creat_f c_inum; creat_f c_links; diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index c0fb6e007599..e4b6dc3a5424 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -871,7 +871,6 @@ f_fstype(PLAN *plan, FTSENT *entry) } } -#if !defined(__NetBSD__) PLAN * c_fstype(OPTION *option, char ***argvp) { @@ -918,7 +917,6 @@ c_fstype(OPTION *option, char ***argvp) new->flags |= F_MTUNKNOWN; return new; } -#endif /* __NetBSD__ */ /* * -group gname functions -- diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c index 12703e781d2a..718c2cdc3a9e 100644 --- a/usr.bin/find/option.c +++ b/usr.bin/find/option.c @@ -79,13 +79,7 @@ static OPTION const options[] = { { "-false", c_simple, f_not, 0 }, { "-flags", c_flags, f_flags, 0 }, { "-follow", c_follow, f_always_true, 0 }, -/* - * NetBSD doesn't provide a getvfsbyname(), so this option - * is not available if using a NetBSD kernel. - */ -#if !defined(__NetBSD__) { "-fstype", c_fstype, f_fstype, 0 }, -#endif { "-group", c_group, f_group, 0 }, { "-iname", c_name, f_name, F_IGNCASE }, { "-inum", c_inum, f_inum, 0 },