summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-07-29 03:29:44 +0000
committertjr <tjr@FreeBSD.org>2004-07-29 03:29:44 +0000
commit5ffd238aa506990cf3ca5d2368bb8996acf7d311 (patch)
treec39f3a1c0e6a3e5925dfc82d81fdfe7c1470a874 /usr.bin/find
parentc1b82c6363128acb129b788e9075b3d83bd1afbf (diff)
downloadFreeBSD-src-5ffd238aa506990cf3ca5d2368bb8996acf7d311.zip
FreeBSD-src-5ffd238aa506990cf3ca5d2368bb8996acf7d311.tar.gz
Remove partial support for building this on NetBSD.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/extern.h2
-rw-r--r--usr.bin/find/function.c2
-rw-r--r--usr.bin/find/option.c6
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 },
OpenPOWER on IntegriCloud