summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorssouhlal <ssouhlal@FreeBSD.org>2005-01-25 14:07:25 +0000
committerssouhlal <ssouhlal@FreeBSD.org>2005-01-25 14:07:25 +0000
commitb4d95a651fab2a00821e74092da4363884e92fff (patch)
tree7ba4ca1913df82816e52bc33dc60231b8666ecf6 /usr.bin/find
parent356d6fbd6a22e154f679b32983bffbc7ad34db5a (diff)
downloadFreeBSD-src-b4d95a651fab2a00821e74092da4363884e92fff.zip
FreeBSD-src-b4d95a651fab2a00821e74092da4363884e92fff.tar.gz
- Make find(1) WARNS?= 6 clean
- Bump to WARNS?= 6 Approved by: stefanf, grehan (mentor)
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/Makefile2
-rw-r--r--usr.bin/find/function.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/Makefile b/usr.bin/find/Makefile
index b6aace9..b20dc03 100644
--- a/usr.bin/find/Makefile
+++ b/usr.bin/find/Makefile
@@ -4,7 +4,7 @@
PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c \
getdate.y
-WARNS?=2
+WARNS?=6
CFLAGS+= -DHAVE_SYS_TIMEB_H -I${.CURDIR}
YFLAGS=
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index 56d201c..beeebef 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -360,7 +360,7 @@ c_mXXdepth(OPTION *option, char ***argvp)
* Show files with EXTENDED ACL attributes.
*/
int
-f_acl(PLAN *plan__unused, FTSENT *entry)
+f_acl(PLAN *plan __unused, FTSENT *entry)
{
int match, entries;
acl_entry_t ae;
@@ -397,7 +397,7 @@ f_acl(PLAN *plan__unused, FTSENT *entry)
}
PLAN *
-c_acl(OPTION *option, char ***argvp__unused)
+c_acl(OPTION *option, char ***argvp __unused)
{
ftsoptions &= ~FTS_NOSTAT;
return (palloc(option));
OpenPOWER on IntegriCloud