Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 23:59:37 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Subject:   src/bin/dd patch
Message-ID:  <200106290359.f5T3xbF97961@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
I would appreciate it if someone would review and commit the patch at
the end of this message.  Also available at:
http://testbed.q9media.net/freebsd/dd.20010628.patch

Best regards,
Mike Barcroft

-----------------------------------------------------------------------

dd.20010628.patch

o Mark unused variables
o Set WARNS?=2


Index: dd/dd.c
===================================================================
RCS file: /home/ncvs/src/bin/dd/dd.c,v
retrieving revision 1.31
diff -u -r1.31 dd.c
--- dd/dd.c	2000/10/10 01:48:22	1.31
+++ dd/dd.c	2001/06/29 02:55:29
@@ -87,7 +87,7 @@
 
 int
 main(argc, argv)
-	int argc;
+	int argc __unused;
 	char *argv[];
 {
 	(void)setlocale(LC_CTYPE, "");
Index: dd/misc.c
===================================================================
RCS file: /home/ncvs/src/bin/dd/misc.c,v
retrieving revision 1.21
diff -u -r1.21 misc.c
--- dd/misc.c	2001/06/25 06:17:02	1.21
+++ dd/misc.c	2001/06/29 02:55:29
@@ -90,7 +90,7 @@
 /* ARGSUSED */
 void
 summaryx(notused)
-	int notused;
+	int notused __unused;
 {
 	int save_errno = errno;
 

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?200106290359.f5T3xbF97961>