summaryrefslogtreecommitdiff
path: root/usr.bin/ar
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ar')
-rw-r--r--usr.bin/ar/Makefile1
-rw-r--r--usr.bin/ar/ar.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile
index 1d6d8bd42a03..3046cde6da29 100644
--- a/usr.bin/ar/Makefile
+++ b/usr.bin/ar/Makefile
@@ -7,5 +7,6 @@ SRCS= append.c ar.c archive.c contents.c delete.c extract.c misc.c \
CFLAGS+=-I${.CURDIR}
MAN= ar.1aout ar.5
BINDIR= /usr/libexec/aout
+WARNS?= 4
.include <bsd.prog.mk>
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c
index 19dddde5d7ad..c39d1b7c0b13 100644
--- a/usr.bin/ar/ar.c
+++ b/usr.bin/ar/ar.c
@@ -79,9 +79,7 @@ static void usage(void);
* option parsing and sanity checking.
*/
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
int c;
char *p;