aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-02-26 13:48:04 +0000
committerEd Schouten <ed@FreeBSD.org>2010-02-26 13:48:04 +0000
commitf319c4b9af7909edda3f9d02d222204fbff8eda7 (patch)
tree2b9b1d87406e430c06f26c626ee2bd4ec9f91be4
parent81d01f896b0fd007b0077f123e140f20da858d71 (diff)
downloadsrc-f319c4b9af7909edda3f9d02d222204fbff8eda7.tar.gz
src-f319c4b9af7909edda3f9d02d222204fbff8eda7.zip
Make pr build with WARNS=6.
Notes
Notes: svn path=/head/; revision=204359
-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 88ec7b45b887..15652dcaed76 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 cf42d7c44636..4b41b4ac365b 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).