aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2000-01-27 21:17:01 +0000
committerJosef Karthauser <joe@FreeBSD.org>2000-01-27 21:17:01 +0000
commit18c0eeddf75ea8c84360302d1d69f6856e455073 (patch)
tree71b46c36a1e229a18531be8cbc7820463e64c814 /usr.bin/find
parentc299f41fd94ac69d50fe1bb6dbc005adbdaedf03 (diff)
Notes
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/Makefile2
-rw-r--r--usr.bin/find/function.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/find/Makefile b/usr.bin/find/Makefile
index a6e29a7d4efd..1d962b98776f 100644
--- a/usr.bin/find/Makefile
+++ b/usr.bin/find/Makefile
@@ -3,7 +3,5 @@
PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
-DPADD= ${LIBUTIL}
-LDADD= -lutil
.include <bsd.prog.mk>
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index de7f8b1b7c01..7033bdef6f09 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -58,8 +58,6 @@ static char rcsid[] = "$FreeBSD$";
#include "find.h"
-int string_to_flags __P((char **, u_long *, u_long *));
-
#define COMPARE(a, b) { \
switch (plan->flags) { \
case F_EQUAL: \
@@ -994,7 +992,7 @@ c_flags(flags_str)
new->flags = F_ATLEAST;
flags_str++;
}
- if (string_to_flags(&flags_str, &flags, &notflags) == 1)
+ if (setflags(&flags_str, &flags, &notflags) == 1)
errx(1, "-flags: %s: illegal flags string", flags_str);
new->fl_flags = flags;