From owner-svn-src-user@FreeBSD.ORG Tue Feb 2 10:03:40 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EAEB1065744; Tue, 2 Feb 2010 10:03:40 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7048FC16; Tue, 2 Feb 2010 10:03:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o12A3dH4046527; Tue, 2 Feb 2010 10:03:39 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o12A3dn3046525; Tue, 2 Feb 2010 10:03:39 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201002021003.o12A3dn3046525@svn.freebsd.org> From: Luigi Rizzo Date: Tue, 2 Feb 2010 10:03:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203371 - user/luigi/ipfw3-head/sbin/ipfw X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 10:03:40 -0000 Author: luigi Date: Tue Feb 2 10:03:39 2010 New Revision: 203371 URL: http://svn.freebsd.org/changeset/base/203371 Log: small compatibility fixes Modified: user/luigi/ipfw3-head/sbin/ipfw/dummynet.c Modified: user/luigi/ipfw3-head/sbin/ipfw/dummynet.c ============================================================================== --- user/luigi/ipfw3-head/sbin/ipfw/dummynet.c Tue Feb 2 10:00:23 2010 (r203370) +++ user/luigi/ipfw3-head/sbin/ipfw/dummynet.c Tue Feb 2 10:03:39 2010 (r203371) @@ -780,7 +780,7 @@ ipfw_config_pipe(int ac, char **av) struct dn_profile *pf = NULL; struct ipfw_flow_id *mask = NULL; int lmax; - int _foo = 0, *flags = &_foo; + uint32_t _foo = 0, *flags = &_foo; /* * allocate space for 1 header, @@ -1275,7 +1275,7 @@ dummynet_flush(void) * XXX todo- accept filtering arguments. */ void -dummynet_list(int __unused ac, __unused char *av[], int __unused show_counters) +dummynet_list(int ac, char *av[], int show_counters) { struct dn_id oid, *x; int ret, l = sizeof(oid);