From owner-svn-src-all@FreeBSD.ORG Mon Dec 20 08:54:31 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29965106566C; Mon, 20 Dec 2010 08:54:31 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 185108FC1B; Mon, 20 Dec 2010 08:54:31 +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 oBK8sUqV026923; Mon, 20 Dec 2010 08:54:30 GMT (envelope-from charnier@svn.freebsd.org) Received: (from charnier@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oBK8sUrl026921; Mon, 20 Dec 2010 08:54:30 GMT (envelope-from charnier@svn.freebsd.org) Message-Id: <201012200854.oBK8sUrl026921@svn.freebsd.org> From: Philippe Charnier Date: Mon, 20 Dec 2010 08:54:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216586 - head/usr.sbin/mld6query X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 08:54:31 -0000 Author: charnier Date: Mon Dec 20 08:54:30 2010 New Revision: 216586 URL: http://svn.freebsd.org/changeset/base/216586 Log: Add __unused. Ansi prototypes. Modified: head/usr.sbin/mld6query/mld6.c Modified: head/usr.sbin/mld6query/mld6.c ============================================================================== --- head/usr.sbin/mld6query/mld6.c Mon Dec 20 08:47:43 2010 (r216585) +++ head/usr.sbin/mld6query/mld6.c Mon Dec 20 08:54:30 2010 (r216586) @@ -1,5 +1,4 @@ /* $KAME: mld6.c,v 1.15 2003/04/02 11:29:54 suz Exp $ */ -/* $FreeBSD$ */ /* * Copyright (C) 1998 WIDE Project. @@ -29,6 +28,10 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + +#include +__FBSDID("$FreeBSD$"); + #include #include #include @@ -330,9 +333,8 @@ dump(int s) fflush(stdout); } -/* ARGSUSED */ void -quit(int signum) +quit(int signum __unused) { mreq.ipv6mr_multiaddr = any; mreq.ipv6mr_interface = ifindex; @@ -344,7 +346,7 @@ quit(int signum) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: mld6query ifname [addr]\n"); exit(1);