summaryrefslogtreecommitdiff
path: root/usr.bin/find/function.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2000-06-28 02:33:17 +0000
committerJosef Karthauser <joe@FreeBSD.org>2000-06-28 02:33:17 +0000
commit7c6e002bd54dbb299d39524acb8dda62e348c61a (patch)
tree45a6bd02c083978f1cbd06a85f5b21c6b509cecd /usr.bin/find/function.c
parenta588b737eef3d1ff92d4f42e80a339c264966533 (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 011998377072..3aac87b66571 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -75,8 +75,6 @@ static const char rcsid[] =
} \
}
-u_long setflags __P((char **, u_long *, u_long *));
-
static PLAN *palloc __P((enum ntype, int (*) __P((PLAN *, FTSENT *))));
/*
@@ -1060,7 +1058,7 @@ c_flags(flags_str)
new->flags = F_ATLEAST;
flags_str++;
}
- if (setflags(&flags_str, &flags, &notflags) == 1)
+ if (strtofflags(&flags_str, &flags, &notflags) == 1)
errx(1, "-flags: %s: illegal flags string", flags_str);
new->fl_flags = flags;