diff options
author | charnier <charnier@FreeBSD.org> | 2010-12-20 08:54:30 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2010-12-20 08:54:30 +0000 |
commit | e298432a1c6a76214405ea05088efaa620f78c2e (patch) | |
tree | 07e1dd7f35644d8b3f12be85002755b44424dcbb | |
parent | 6ef0f9c11ccdbf7cc057a610372a2a3dc81f80b6 (diff) | |
download | FreeBSD-src-e298432a1c6a76214405ea05088efaa620f78c2e.zip FreeBSD-src-e298432a1c6a76214405ea05088efaa620f78c2e.tar.gz |
Add __unused. Ansi prototypes.
-rw-r--r-- | usr.sbin/mld6query/mld6.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/mld6query/mld6.c b/usr.sbin/mld6query/mld6.c index 1f73203..53f38ae 100644 --- a/usr.sbin/mld6query/mld6.c +++ b/usr.sbin/mld6query/mld6.c @@ -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 <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/uio.h> #include <sys/socket.h> @@ -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); |