summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2004-12-08 18:07:07 +0000
committerxsa <xsa@openbsd.org>2004-12-08 18:07:07 +0000
commit2cf7d23e84bf3a97c0cfe14356e37eafa3adfd03 (patch)
tree09f781710fde7490326e064c45eac220e4b81cf8
parentuse two tiny macros for copying fields out to simplify reading; henning@ ok (diff)
downloadwireguard-openbsd-2cf7d23e84bf3a97c0cfe14356e37eafa3adfd03.tar.xz
wireguard-openbsd-2cf7d23e84bf3a97c0cfe14356e37eafa3adfd03.zip
add more CFLAGS; ok jfb@.
-rw-r--r--usr.bin/cvs/cvs/Makefile4
-rw-r--r--usr.bin/cvs/cvsd/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs/Makefile b/usr.bin/cvs/cvs/Makefile
index c8289dbda13..253ffebb491 100644
--- a/usr.bin/cvs/cvs/Makefile
+++ b/usr.bin/cvs/cvs/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.10 2004/11/26 16:23:50 jfb Exp $
+# $Id: Makefile,v 1.11 2004/12/08 18:07:07 xsa Exp $
.PATH: ${.CURDIR}/..
@@ -17,6 +17,8 @@ BINMODE=555
CFLAGS= -g -ggdb
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -DCVS
diff --git a/usr.bin/cvs/cvsd/Makefile b/usr.bin/cvs/cvsd/Makefile
index 191a55ae958..ea10c36b3df 100644
--- a/usr.bin/cvs/cvsd/Makefile
+++ b/usr.bin/cvs/cvsd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2004/12/06 18:57:10 xsa Exp $
+# $Id: Makefile,v 1.7 2004/12/08 18:07:07 xsa Exp $
.PATH: ${.CURDIR}/..
@@ -10,6 +10,8 @@ MAN=cvsd.8 cvsd.conf.5
CFLAGS+= -Wall -I${.CURDIR}/..
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -DCVSD