summaryrefslogtreecommitdiff
path: root/usr.bin/find/function.c
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/function.c
parentc299f41fd94ac69d50fe1bb6dbc005adbdaedf03 (diff)
Notes
Diffstat (limited to 'usr.bin/find/function.c')
-rw-r--r--usr.bin/find/function.c4
1 files changed, 1 insertions, 3 deletions
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;