summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw2.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2012-07-30 11:02:22 +0000
committerluigi <luigi@FreeBSD.org>2012-07-30 11:02:22 +0000
commitc90cd26f1610fbff118edf8a8a1a97b6d25f0f42 (patch)
tree2c928ba7f72381a624b21dc759665620c43b2908 /sbin/ipfw/ipfw2.c
parentd8e2c218a2f038ccc70ed8fe056b40c23f743930 (diff)
downloadFreeBSD-src-c90cd26f1610fbff118edf8a8a1a97b6d25f0f42.zip
FreeBSD-src-c90cd26f1610fbff118edf8a8a1a97b6d25f0f42.tar.gz
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.
Diffstat (limited to 'sbin/ipfw/ipfw2.c')
-rw-r--r--sbin/ipfw/ipfw2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index f714035..530f319 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -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)
OpenPOWER on IntegriCloud