Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2010 08:37:26 +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: r216583 - head/libexec/rbootd
Message-ID:  <201012200837.oBK8bQtU023361@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: charnier
Date: Mon Dec 20 08:37:26 2010
New Revision: 216583
URL: http://svn.freebsd.org/changeset/base/216583

Log:
  Add __unused

Modified:
  head/libexec/rbootd/rbootd.c

Modified: head/libexec/rbootd/rbootd.c
==============================================================================
--- head/libexec/rbootd/rbootd.c	Mon Dec 20 08:29:54 2010	(r216582)
+++ head/libexec/rbootd/rbootd.c	Mon Dec 20 08:37:26 2010	(r216583)
@@ -54,9 +54,9 @@ static const char copyright[] =
 #if 0
 static const char sccsid[] = "@(#)rbootd.c	8.1 (Berkeley) 6/4/93";
 #endif
-static const char rcsid[] =
-  "$FreeBSD$";
 #endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/time.h>
@@ -397,7 +397,7 @@ Exit(int sig)
 **		- This routine must be called with SIGHUP blocked.
 */
 void
-ReConfig(int signo)
+ReConfig(int signo __unused)
 {
 	syslog(LOG_NOTICE, "reconfiguring boot server");
 
@@ -423,7 +423,7 @@ ReConfig(int signo)
 **		- Debug file is closed.
 */
 void
-DebugOff(int signo)
+DebugOff(int signo __unused)
 {
 	if (DbgFp != NULL)
 		(void) fclose(DbgFp);
@@ -445,7 +445,7 @@ DebugOff(int signo)
 **		  otherwise do nothing.
 */
 void
-DebugOn(int signo)
+DebugOn(int signo __unused)
 {
 	if (DbgFp == NULL) {
 		if ((DbgFp = fopen(DbgFile, "w")) == NULL)



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