summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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