diff options
-rw-r--r-- | usr.bin/find/extern.h | 2 | ||||
-rw-r--r-- | usr.bin/find/function.c | 2 | ||||
-rw-r--r-- | usr.bin/find/option.c | 6 |
3 files changed, 0 insertions, 10 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h index 0e01f82..2ee8510 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 c0fb6e0..e4b6dc3 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 12703e7..718c2cd 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 }, |