Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2010 13:48:04 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204359 - head/usr.bin/pr
Message-ID:  <201002261348.o1QDm4xx056232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002261348.o1QDm4xx056232>