aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-12-03 20:57:49 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-12-03 20:57:49 +0000
commitb268886863c48b66e5af50362872591ba4d9506f (patch)
tree492506672a4b4988ec44cc136c5edd61ddae0d51 /usr.bin
parent5748d9ba6f313235f5d4628b0c141e71a51ca5ec (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/getopt/Makefile1
-rw-r--r--usr.bin/getopt/getopt.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/getopt/Makefile b/usr.bin/getopt/Makefile
index 01dfa87e2935f..06d4a2a62cd55 100644
--- a/usr.bin/getopt/Makefile
+++ b/usr.bin/getopt/Makefile
@@ -2,5 +2,6 @@
#
PROG = getopt
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/getopt/getopt.c b/usr.bin/getopt/getopt.c
index c0d222125f107..830f63a3a34e2 100644
--- a/usr.bin/getopt/getopt.c
+++ b/usr.bin/getopt/getopt.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <unistd.h>
+int
main(argc, argv)
int argc;
char *argv[];