summaryrefslogtreecommitdiffstats
path: root/usr.bin/lockf
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-12-03 21:07:23 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-12-03 21:07:23 +0000
commit81ff03de2599ea78cafdde0adb335d55ca2d5304 (patch)
treed23d4593bd65c58df56697336b0722824dea97fd /usr.bin/lockf
parentfc0ee8a40b954c0928df0016d1dcca54a30433bd (diff)
downloadFreeBSD-src-81ff03de2599ea78cafdde0adb335d55ca2d5304.zip
FreeBSD-src-81ff03de2599ea78cafdde0adb335d55ca2d5304.tar.gz
Warns cleanups.
Diffstat (limited to 'usr.bin/lockf')
-rw-r--r--usr.bin/lockf/Makefile2
-rw-r--r--usr.bin/lockf/lockf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lockf/Makefile b/usr.bin/lockf/Makefile
index 77d89c4..b0df209 100644
--- a/usr.bin/lockf/Makefile
+++ b/usr.bin/lockf/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
PROG= lockf
-CFLAGS+=-Wall
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/lockf/lockf.c b/usr.bin/lockf/lockf.c
index 0a91048..6c08ff9 100644
--- a/usr.bin/lockf/lockf.c
+++ b/usr.bin/lockf/lockf.c
@@ -193,7 +193,7 @@ killed(int sig)
* Signal handler for SIGALRM.
*/
static void
-timeout(int sig)
+timeout(int sig __unused)
{
timed_out = 1;
}
OpenPOWER on IntegriCloud