From 7587c23cc233baae984aaf274a4beae968b8985f Mon Sep 17 00:00:00 2001 From: charnier Date: Sun, 19 Dec 2010 13:05:17 +0000 Subject: add __unused --- libexec/rpc.rwalld/rwalld.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libexec/rpc.rwalld') diff --git a/libexec/rpc.rwalld/rwalld.c b/libexec/rpc.rwalld/rwalld.c index 6bfe537..41ddb14 100644 --- a/libexec/rpc.rwalld/rwalld.c +++ b/libexec/rpc.rwalld/rwalld.c @@ -27,10 +27,8 @@ * SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include +__FBSDID("$FreeBSD$"); #include #include @@ -136,14 +134,14 @@ possess(void) } void -killkids(int sig) +killkids(int sig __unused) { while(wait4(-1, NULL, WNOHANG, NULL) > 0) ; } void * -wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp) +wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp __unused) { static void *dummy = NULL; -- cgit v1.1