diff options
author | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:07:23 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:07:23 +0000 |
commit | 9ff5e898db817c903f5ca2a8e31523585f7c33cb (patch) | |
tree | d23d4593bd65c58df56697336b0722824dea97fd /usr.bin/lockf | |
parent | 1627c04d8c1161e010ffa78cc35c5260022ec393 (diff) | |
download | src-9ff5e898db817c903f5ca2a8e31523585f7c33cb.tar.gz src-9ff5e898db817c903f5ca2a8e31523585f7c33cb.zip |
Warns cleanups.
Notes
Notes:
svn path=/head/; revision=87290
Diffstat (limited to 'usr.bin/lockf')
-rw-r--r-- | usr.bin/lockf/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/lockf/lockf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lockf/Makefile b/usr.bin/lockf/Makefile index 77d89c45bbdf..b0df209a29b9 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 0a91048cafc4..6c08ff91fcc0 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; } |