svn commit: r238903 - head/sbin/ipfw

Luigi Rizzo luigi at FreeBSD.org
Mon Jul 30 11:02:23 UTC 2012


Author: luigi
Date: Mon Jul 30 11:02:22 2012
New Revision: 238903
URL: http://svn.freebsd.org/changeset/base/238903

Log:
  remove the last __unused instance in sbin/ipfw.
  This particular function (show_prerequisites() ) we should actually
  remove the argument from the callers as well, but i'll do it at a
  later time.

Modified:
  head/sbin/ipfw/ipfw2.c

Modified: head/sbin/ipfw/ipfw2.c
==============================================================================
--- head/sbin/ipfw/ipfw2.c	Mon Jul 30 11:00:55 2012	(r238902)
+++ head/sbin/ipfw/ipfw2.c	Mon Jul 30 11:02:22 2012	(r238903)
@@ -976,8 +976,9 @@ print_icmptypes(ipfw_insn_u32 *cmd)
 #define	HAVE_OPTIONS	0x8000
 
 static void
-show_prerequisites(int *flags, int want, int cmd __unused)
+show_prerequisites(int *flags, int want, int cmd)
 {
+	(void)cmd;	/* UNUSED */
 	if (co.comment_only)
 		return;
 	if ( (*flags & HAVE_IP) == HAVE_IP)


More information about the svn-src-all mailing list