svn commit: r204359 - head/usr.bin/pr

Ed Schouten ed at FreeBSD.org
Fri Feb 26 13:48:05 UTC 2010


Author: ed
Date: Fri Feb 26 13:48:04 2010
New Revision: 204359
URL: http://svn.freebsd.org/changeset/base/204359

Log:
  Make pr build with WARNS=6.

Modified:
  head/usr.bin/pr/Makefile
  head/usr.bin/pr/egetopt.c

Modified: head/usr.bin/pr/Makefile
==============================================================================
--- head/usr.bin/pr/Makefile	Fri Feb 26 13:47:51 2010	(r204358)
+++ head/usr.bin/pr/Makefile	Fri Feb 26 13:48:04 2010	(r204359)
@@ -4,6 +4,4 @@
 PROG=	pr
 SRCS=	pr.c egetopt.c
 
-WARNS?=	2
-
 .include <bsd.prog.mk>

Modified: head/usr.bin/pr/egetopt.c
==============================================================================
--- head/usr.bin/pr/egetopt.c	Fri Feb 26 13:47:51 2010	(r204358)
+++ head/usr.bin/pr/egetopt.c	Fri Feb 26 13:48:04 2010	(r204359)
@@ -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).


More information about the svn-src-head mailing list