summaryrefslogtreecommitdiff
path: root/usr.bin/lockf
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-12-03 21:07:23 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-12-03 21:07:23 +0000
commit9ff5e898db817c903f5ca2a8e31523585f7c33cb (patch)
treed23d4593bd65c58df56697336b0722824dea97fd /usr.bin/lockf
parent1627c04d8c1161e010ffa78cc35c5260022ec393 (diff)
downloadsrc-test-9ff5e898db817c903f5ca2a8e31523585f7c33cb.tar.gz
src-test-9ff5e898db817c903f5ca2a8e31523585f7c33cb.zip
Warns cleanups.
Notes
Notes: svn path=/head/; revision=87290
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 77d89c45bbdf7..b0df209a29b9a 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 0a91048cafc4d..6c08ff91fcc06 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;
}