From f0c80f9bf72f4c7e54c086a201ad5eaddcee3149 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 19 Dec 2010 13:05:17 +0000 Subject: [PATCH] add __unused --- libexec/rpc.rwalld/rwalld.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libexec/rpc.rwalld/rwalld.c b/libexec/rpc.rwalld/rwalld.c index 6bfe5377056..41ddb14bee3 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;