From ebe901b4decf4e571dcc1c795b5c2df5a52ec12e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 3 May 2003 19:44:46 +0000 Subject: [PATCH] Make GCC 3.3 happy with rcsid[], sccs[], and copyright[]. --- usr.bin/chpass/chpass.c | 3 +-- usr.bin/chpass/table.c | 2 ++ usr.bin/nohup/nohup.c | 8 ++++---- usr.bin/unifdef/unifdef.c | 6 +++--- usr.bin/uudecode/uudecode.c | 3 +-- usr.bin/uuencode/uuencode.c | 3 +-- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c index 54e5bc9c67f9..8b716ba25c0b 100644 --- a/usr.bin/chpass/chpass.c +++ b/usr.bin/chpass/chpass.c @@ -38,18 +38,17 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1988, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#if 0 #ifndef lint static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94"; #endif /* not lint */ #endif - #include __FBSDID("$FreeBSD$"); diff --git a/usr.bin/chpass/table.c b/usr.bin/chpass/table.c index fede30824c3d..19f1a99062d8 100644 --- a/usr.bin/chpass/table.c +++ b/usr.bin/chpass/table.c @@ -31,9 +31,11 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char sccsid[] = "@(#)table.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ +#endif #include __FBSDID("$FreeBSD$"); diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c index fbb9754303e0..06f22445771d 100644 --- a/usr.bin/nohup/nohup.c +++ b/usr.bin/nohup/nohup.c @@ -31,6 +31,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ @@ -38,12 +39,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static char sccsid[] = "@(#)nohup.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include +__FBSDID("$FreeBSD$"); #include #include diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c index 66f65d832255..d008c6d0909a 100644 --- a/usr.bin/unifdef/unifdef.c +++ b/usr.bin/unifdef/unifdef.c @@ -37,19 +37,19 @@ #include #ifndef lint +#if 0 static const char copyright[] = "@(#) Copyright (c) 1985, 1993\n\ The Regents of the University of California. All rights reserved.\n"; +#endif #ifdef __IDSTRING __IDSTRING(Berkeley, "@(#)unifdef.c 8.1 (Berkeley) 6/6/93"); __IDSTRING(NetBSD, "$NetBSD: unifdef.c,v 1.8 2000/07/03 02:51:36 matt Exp $"); __IDSTRING(dotat, "$dotat: things/unifdef.c,v 1.148 2003/01/20 12:05:41 fanf2 Exp $"); #endif -#ifdef __FBSDID +#endif /* not lint */ __FBSDID("$FreeBSD$"); -#endif -#endif /* * unifdef - remove ifdef'ed lines diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index 0c1e3861500b..093af7d2d474 100644 --- a/usr.bin/uudecode/uudecode.c +++ b/usr.bin/uudecode/uudecode.c @@ -31,18 +31,17 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1983, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#if 0 #ifndef lint static char sccsid[] = "@(#)uudecode.c 8.2 (Berkeley) 4/2/94"; #endif /* not lint */ #endif - #include __FBSDID("$FreeBSD$"); diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c index e9225d43f62f..9a05248148cd 100644 --- a/usr.bin/uuencode/uuencode.c +++ b/usr.bin/uuencode/uuencode.c @@ -31,18 +31,17 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1983, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#if 0 #ifndef lint static char sccsid[] = "@(#)uuencode.c 8.2 (Berkeley) 4/2/94"; #endif /* not lint */ #endif - #include __FBSDID("$FreeBSD$");