Date: Sun, 8 Jul 2001 16:43:35 -0400 (EDT) From: Mike Barcroft <mike@q9media.com> To: audit@FreeBSD.org Cc: Dima Dorfman <dima@unixfreak.org> Subject: updated src/lib and src/sbin warns patches Message-ID: <200107082043.f68KhZh17468@coffee.q9media.com>
next in thread | raw e-mail | index | archive | help
I've updated my src/lib and src/sbin warns patches. On the lib patch, I removed some changes where I had added WARNS?=2 to programs that didn't have any C code. On the sbin patch, I removed some changes where I had added WARNS?=2 to programs that don't compile cleanly on Alphas. Both patches have been tested on i386 and alpha. Would someone mind committing them? Both patches are available at the end of this message, also available at: http://testbed.q9media.net/freebsd/lib.20010708.patch & http://testbed.q9media.net/freebsd/sbin.20010708.patch Best regards, Mike Barcroft ----------------------------------------------------------------------- lib.20010708.patch o Set WARNS?=2 on Makefiles that should have it. o Tested on i386 and alpha. Index: libcalendar/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libcalendar/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- libcalendar/Makefile 2001/03/27 17:26:57 1.5 +++ libcalendar/Makefile 2001/07/03 03:15:03 @@ -1,6 +1,7 @@ # $FreeBSD: src/lib/libcalendar/Makefile,v 1.5 2001/03/27 17:26:57 ru Exp $ LIB= calendar +WARNS?= 2 SRCS= calendar.c easter.c INCS= calendar.h @@ -12,6 +13,6 @@ calendar.3 ndaysg.3 calendar.3 ndaysj.3 \ calendar.3 week.3 calendar.3 weekday.3 -CFLAGS+=-I. -I${.CURDIR} -Wall +CFLAGS+=-I. -I${.CURDIR} .include <bsd.lib.mk> Index: libnetgraph/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libnetgraph/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- libnetgraph/Makefile 2001/03/27 17:27:09 1.6 +++ libnetgraph/Makefile 2001/07/03 03:15:03 @@ -2,6 +2,7 @@ # $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $ LIB= netgraph +WARNS?= 2 MAN= netgraph.3 SHLIB_MAJOR= 1 @@ -9,8 +10,6 @@ SRCS= sock.c msg.c debug.c INCS= netgraph.h - -CFLAGS+= -Wall MLINKS+= netgraph.3 NgMkSockNode.3 MLINKS+= netgraph.3 NgNameNode.3 ----------------------------------------------------------------------- sbin.20010708.patch o Set WARNS?=2 on Makefiles that should have it. o Tested on i386 and alpha. Index: clri/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/clri/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- clri/Makefile 2001/03/26 14:32:58 1.4 +++ clri/Makefile 2001/06/29 02:03:23 @@ -2,6 +2,7 @@ # $FreeBSD: src/sbin/clri/Makefile,v 1.4 2001/03/26 14:32:58 ru Exp $ PROG= clri +WARNS?= 2 MAN= clri.8 .include <bsd.prog.mk> Index: kldload/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/kldload/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- kldload/Makefile 2001/05/18 13:41:26 1.7 +++ kldload/Makefile 2001/06/29 02:03:23 @@ -27,6 +27,7 @@ # PROG= kldload +WARNS?= 2 MAN= kldload.8 .include <bsd.prog.mk> Index: spppcontrol/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/spppcontrol/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- spppcontrol/Makefile 2001/03/26 14:33:25 1.4 +++ spppcontrol/Makefile 2001/06/29 02:03:23 @@ -1,6 +1,7 @@ # $FreeBSD: src/sbin/spppcontrol/Makefile,v 1.4 2001/03/26 14:33:25 ru Exp $ PROG= spppcontrol +WARNS?= 2 MAN= spppcontrol.8 .include <bsd.prog.mk> Index: swapon/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/swapon/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- swapon/Makefile 2001/03/26 14:33:25 1.4 +++ swapon/Makefile 2001/06/29 02:03:23 @@ -2,6 +2,7 @@ # $FreeBSD: src/sbin/swapon/Makefile,v 1.4 2001/03/26 14:33:25 ru Exp $ PROG= swapon +WARNS?= 2 MAN= swapon.8 .include <bsd.prog.mk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107082043.f68KhZh17468>