aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2010-12-19 13:05:17 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2010-12-19 13:05:17 +0000
commitf0c80f9bf72f4c7e54c086a201ad5eaddcee3149 (patch)
tree9d24c9e17269bd1776541e8adc4df6eea8744f64 /libexec
parent0e1497aefd602cea581d2380d22e67dfdcac6b4e (diff)
downloadsrc-f0c80f9bf72f4c7e54c086a201ad5eaddcee3149.tar.gz
src-f0c80f9bf72f4c7e54c086a201ad5eaddcee3149.zip
add __unused
Notes
Notes: svn path=/head/; revision=216560
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rpc.rwalld/rwalld.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libexec/rpc.rwalld/rwalld.c b/libexec/rpc.rwalld/rwalld.c
index 6bfe53770560..41ddb14bee3a 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 <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;