diff options
author | charnier <charnier@FreeBSD.org> | 2005-05-29 15:57:00 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2005-05-29 15:57:00 +0000 |
commit | a40be9078d192a84f33c7f817b423f00679c0931 (patch) | |
tree | 5f97dd2936337685ccfac8b7df3efbd20eaa6e32 /sbin/restore | |
parent | 00bccc99ecc6ecf5af14a8432263a8aef51e7670 (diff) | |
download | FreeBSD-src-a40be9078d192a84f33c7f817b423f00679c0931.zip FreeBSD-src-a40be9078d192a84f33c7f817b423f00679c0931.tar.gz |
rscid -> __FBSDID. Mark parameter as __unused when necessary.
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/interactive.c | 7 | ||||
-rw-r--r-- | sbin/restore/main.c | 5 | ||||
-rw-r--r-- | sbin/restore/restore.c | 5 | ||||
-rw-r--r-- | sbin/restore/tape.c | 5 |
4 files changed, 13 insertions, 9 deletions
diff --git a/sbin/restore/interactive.c b/sbin/restore/interactive.c index 209c5a5..d3ab5cd 100644 --- a/sbin/restore/interactive.c +++ b/sbin/restore/interactive.c @@ -31,10 +31,11 @@ #if 0 static char sccsid[] = "@(#)interactive.c 8.5 (Berkeley) 5/1/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/stat.h> @@ -753,7 +754,7 @@ fcmp(const void *f1, const void *f2) * respond to interrupts */ void -onintr(int signo) +onintr(int signo __unused) { if (command == 'i' && runshell) longjmp(reset, 1); diff --git a/sbin/restore/main.c b/sbin/restore/main.c index d8825c9..63fb4ef 100644 --- a/sbin/restore/main.c +++ b/sbin/restore/main.c @@ -37,10 +37,11 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/4/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/stat.h> diff --git a/sbin/restore/restore.c b/sbin/restore/restore.c index a1a8c88..046c0d2 100644 --- a/sbin/restore/restore.c +++ b/sbin/restore/restore.c @@ -31,10 +31,11 @@ #if 0 static char sccsid[] = "@(#)restore.c 8.3 (Berkeley) 9/13/94"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <limits.h> diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index ea5d37f..3245926 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -36,10 +36,11 @@ #if 0 static char sccsid[] = "@(#)tape.c 8.9 (Berkeley) 5/1/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/file.h> #include <sys/mtio.h> |