summaryrefslogtreecommitdiffstats
path: root/bin/chmod
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-05-20 03:24:24 +0000
committerkris <kris@FreeBSD.org>2001-05-20 03:24:24 +0000
commitc3082fa5da9e10b30a514d4920af4d791ab07d00 (patch)
tree90ee0bf762a05b1a6b4bb01c383ecde5311fcfe1 /bin/chmod
parent445c7928a166ddd374f98189e149d7e27092573e (diff)
downloadFreeBSD-src-c3082fa5da9e10b30a514d4920af4d791ab07d00.zip
FreeBSD-src-c3082fa5da9e10b30a514d4920af4d791ab07d00.tar.gz
Make this compile with WARNS=2
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 71006d0..3036576 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 395bee1..1129151 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
OpenPOWER on IntegriCloud