Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2010 13:05:17 +0000 (UTC)
From:      Philippe Charnier <charnier@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216560 - head/libexec/rpc.rwalld
Message-ID:  <201012191305.oBJD5HD6078033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: charnier
Date: Sun Dec 19 13:05:17 2010
New Revision: 216560
URL: http://svn.freebsd.org/changeset/base/216560

Log:
  add __unused

Modified:
  head/libexec/rpc.rwalld/rwalld.c

Modified: head/libexec/rpc.rwalld/rwalld.c
==============================================================================
--- head/libexec/rpc.rwalld/rwalld.c	Sun Dec 19 11:37:44 2010	(r216559)
+++ head/libexec/rpc.rwalld/rwalld.c	Sun Dec 19 13:05:17 2010	(r216560)
@@ -27,10 +27,8 @@
  * SUCH DAMAGE.
  */
 
-#ifndef lint
-static const char rcsid[] =
-  "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <err.h>
 #include <pwd.h>
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012191305.oBJD5HD6078033>