aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-20 03:24:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-20 03:24:24 +0000
commit925d09e9abfa7fcf07726b802b2e0a13d5d63ab2 (patch)
tree013af1939f622200c3923551edfe91e283d721ba /bin/chmod
parentf06df90bde1e73a82aa87799b579299f6c8a608c (diff)
Make this compile with WARNS=2
Notes
Notes: svn path=/head/; revision=76871
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/Makefile2
-rw-r--r--bin/chmod/chmod.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile
index 71006d00a523..303657698330 100644
--- a/bin/chmod/Makefile
+++ b/bin/chmod/Makefile
@@ -3,4 +3,6 @@
PROG= chmod
+WARNS= 2
+
.include <bsd.prog.mk>
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 395bee14c983..112915159645 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -57,6 +57,7 @@ static const char rcsid[] =
#include <string.h>
#include <unistd.h>
+int main __P((int, char *[]));
void usage __P((void));
int