From 250d321dac68c682435efa9f4dc09387cc592d38 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Wed, 5 Jan 2005 00:46:52 +0000 Subject: [PATCH] Raise WARNS to 6: - Mark a parameter as unused. --- usr.bin/lockf/Makefile | 3 ++- usr.bin/lockf/lockf.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.bin/lockf/Makefile b/usr.bin/lockf/Makefile index 79ba368dbf..5808850d54 100644 --- a/usr.bin/lockf/Makefile +++ b/usr.bin/lockf/Makefile @@ -1,7 +1,8 @@ # $FreeBSD: src/usr.bin/lockf/Makefile,v 1.4 1999/08/28 01:03:05 peter Exp $ -# $DragonFly: src/usr.bin/lockf/Makefile,v 1.2 2003/06/17 04:29:28 dillon Exp $ +# $DragonFly: src/usr.bin/lockf/Makefile,v 1.3 2005/01/05 00:46:52 cpressey Exp $ PROG= lockf CFLAGS+=-Wall +WARNS?= 6 .include diff --git a/usr.bin/lockf/lockf.c b/usr.bin/lockf/lockf.c index e6b4b7037e..67d2c4681f 100644 --- a/usr.bin/lockf/lockf.c +++ b/usr.bin/lockf/lockf.c @@ -23,7 +23,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/usr.bin/lockf/lockf.c,v 1.8 1999/08/28 01:03:07 peter Exp $ - * $DragonFly: src/usr.bin/lockf/lockf.c,v 1.2 2003/06/17 04:29:28 dillon Exp $ + * $DragonFly: src/usr.bin/lockf/lockf.c,v 1.3 2005/01/05 00:46:52 cpressey Exp $ */ #include @@ -194,7 +194,7 @@ killed(int sig) * Signal handler for SIGALRM. */ static void -timeout(int sig) +timeout(__unused int sig) { timed_out = 1; } -- 2.41.0