summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-02-26 13:48:04 +0000
committered <ed@FreeBSD.org>2010-02-26 13:48:04 +0000
commit33df9ab33dc57583e89c5849aee10fa9eae90480 (patch)
tree2b9b1d87406e430c06f26c626ee2bd4ec9f91be4 /usr.bin/pr
parent95f188bc4a86944aa82e9fa3c5fa535612662e09 (diff)
downloadFreeBSD-src-33df9ab33dc57583e89c5849aee10fa9eae90480.zip
FreeBSD-src-33df9ab33dc57583e89c5849aee10fa9eae90480.tar.gz
Make pr build with WARNS=6.
Diffstat (limited to 'usr.bin/pr')
-rw-r--r--usr.bin/pr/Makefile2
-rw-r--r--usr.bin/pr/egetopt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pr/Makefile b/usr.bin/pr/Makefile
index 88ec7b4..15652dc 100644
--- a/usr.bin/pr/Makefile
+++ b/usr.bin/pr/Makefile
@@ -4,6 +4,4 @@
PROG= pr
SRCS= pr.c egetopt.c
-WARNS?= 2
-
.include <bsd.prog.mk>
diff --git a/usr.bin/pr/egetopt.c b/usr.bin/pr/egetopt.c
index cf42d7c..4b41b4a 100644
--- a/usr.bin/pr/egetopt.c
+++ b/usr.bin/pr/egetopt.c
@@ -48,6 +48,8 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <string.h>
+#include "extern.h"
+
/*
* egetopt: get option letter from argument vector (an extended
* version of getopt).
OpenPOWER on IntegriCloud