mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 00:33:30 +00:00
Add __unused
This commit is contained in:
parent
9f8c312911
commit
43d4d55558
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216583
@ -54,9 +54,9 @@ static const char copyright[] =
|
|||||||
#if 0
|
#if 0
|
||||||
static const char sccsid[] = "@(#)rbootd.c 8.1 (Berkeley) 6/4/93";
|
static const char sccsid[] = "@(#)rbootd.c 8.1 (Berkeley) 6/4/93";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
|
||||||
"$FreeBSD$";
|
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
@ -397,7 +397,7 @@ Exit(int sig)
|
|||||||
** - This routine must be called with SIGHUP blocked.
|
** - This routine must be called with SIGHUP blocked.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
ReConfig(int signo)
|
ReConfig(int signo __unused)
|
||||||
{
|
{
|
||||||
syslog(LOG_NOTICE, "reconfiguring boot server");
|
syslog(LOG_NOTICE, "reconfiguring boot server");
|
||||||
|
|
||||||
@ -423,7 +423,7 @@ ReConfig(int signo)
|
|||||||
** - Debug file is closed.
|
** - Debug file is closed.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
DebugOff(int signo)
|
DebugOff(int signo __unused)
|
||||||
{
|
{
|
||||||
if (DbgFp != NULL)
|
if (DbgFp != NULL)
|
||||||
(void) fclose(DbgFp);
|
(void) fclose(DbgFp);
|
||||||
@ -445,7 +445,7 @@ DebugOff(int signo)
|
|||||||
** otherwise do nothing.
|
** otherwise do nothing.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
DebugOn(int signo)
|
DebugOn(int signo __unused)
|
||||||
{
|
{
|
||||||
if (DbgFp == NULL) {
|
if (DbgFp == NULL) {
|
||||||
if ((DbgFp = fopen(DbgFile, "w")) == NULL)
|
if ((DbgFp = fopen(DbgFile, "w")) == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user