diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-05 09:52:25 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-05 09:52:25 +0000 |
commit | 392c53b5602bf3e2509d8cca188c3f90be97c36e (patch) | |
tree | c907d9db47f23ada7451bd2fa062c54d95fc1a99 /games/fortune | |
parent | 98d5255d63c13a42c0aa2a18fa0b934016966057 (diff) | |
download | FreeBSD-src-392c53b5602bf3e2509d8cca188c3f90be97c36e.zip FreeBSD-src-392c53b5602bf3e2509d8cca188c3f90be97c36e.tar.gz |
Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
Diffstat (limited to 'games/fortune')
-rw-r--r-- | games/fortune/fortune/fortune.c | 8 | ||||
-rw-r--r-- | games/fortune/strfile/strfile.c | 9 | ||||
-rw-r--r-- | games/fortune/unstr/unstr.c | 9 |
3 files changed, 12 insertions, 14 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index ad95e53..3234d2d 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -34,6 +34,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1986, 1993\n\ @@ -41,12 +42,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static const char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); # include <sys/stat.h> diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 5c62c0a..c0ef528 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -34,6 +34,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ @@ -41,13 +42,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static const char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93"; -#else -static const char rcsid[] = - "$FreeBSD$"; -#endif #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); # include <sys/param.h> # include <arpa/inet.h> diff --git a/games/fortune/unstr/unstr.c b/games/fortune/unstr/unstr.c index 1512026..44c7a9f 100644 --- a/games/fortune/unstr/unstr.c +++ b/games/fortune/unstr/unstr.c @@ -34,6 +34,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1991, 1993\n\ @@ -41,13 +42,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static const char sccsid[] = "@(#)unstr.c 8.1 (Berkeley) 5/31/93"; -#else -static const char rcsid[] = - "$FreeBSD$"; -#endif #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * This program un-does what "strfile" makes, thereby obtaining the |