diff options
author | charnier <charnier@FreeBSD.org> | 2010-12-20 08:37:26 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2010-12-20 08:37:26 +0000 |
commit | 02e9ed10af19b7ebd4277c5a4b8e4844b6b5e905 (patch) | |
tree | a2236d60afb1899d52c2b9fb2b2e0f3ae1b4dff3 /libexec/rbootd/rbootd.c | |
parent | 89b5c059300315fcb6ea4f0e602bbdf985e0aabd (diff) | |
download | FreeBSD-src-02e9ed10af19b7ebd4277c5a4b8e4844b6b5e905.zip FreeBSD-src-02e9ed10af19b7ebd4277c5a4b8e4844b6b5e905.tar.gz |
Add __unused
Diffstat (limited to 'libexec/rbootd/rbootd.c')
-rw-r--r-- | libexec/rbootd/rbootd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/rbootd/rbootd.c b/libexec/rbootd/rbootd.c index 942c7cb..e71b1ec 100644 --- a/libexec/rbootd/rbootd.c +++ b/libexec/rbootd/rbootd.c @@ -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) |