From 0d8875ff46ad6fa4e22b676e1b09d28509e89fc6 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 1 Apr 2002 09:39:07 +0000 Subject: [PATCH] Fix SCM ID's. --- usr.sbin/pkg_install/add/extract.c | 8 +++----- usr.sbin/pkg_install/add/futil.c | 8 +++----- usr.sbin/pkg_install/add/main.c | 6 ++---- usr.sbin/pkg_install/add/perform.c | 8 +++----- usr.sbin/pkg_install/create/main.c | 8 +++----- usr.sbin/pkg_install/create/perform.c | 8 +++----- usr.sbin/pkg_install/create/pl.c | 8 +++----- usr.sbin/pkg_install/delete/main.c | 8 +++----- usr.sbin/pkg_install/delete/perform.c | 8 +++----- usr.sbin/pkg_install/info/main.c | 8 +++----- usr.sbin/pkg_install/info/perform.c | 8 +++----- usr.sbin/pkg_install/info/show.c | 8 +++----- usr.sbin/pkg_install/lib/deps.c | 8 +++----- usr.sbin/pkg_install/lib/exec.c | 8 +++----- usr.sbin/pkg_install/lib/file.c | 8 +++----- usr.sbin/pkg_install/lib/global.c | 8 +++----- usr.sbin/pkg_install/lib/match.c | 8 +++----- usr.sbin/pkg_install/lib/msg.c | 9 +++------ usr.sbin/pkg_install/lib/pen.c | 8 +++----- usr.sbin/pkg_install/lib/plist.c | 8 +++----- usr.sbin/pkg_install/lib/str.c | 8 +++----- usr.sbin/pkg_install/lib/version.c | 8 +++----- usr.sbin/pkg_install/sign/check.c | 4 +++- usr.sbin/pkg_install/sign/common.c | 4 +++- usr.sbin/pkg_install/sign/gzip.c | 5 ++++- usr.sbin/pkg_install/sign/main.c | 4 +++- usr.sbin/pkg_install/sign/pgp_check.c | 4 +++- usr.sbin/pkg_install/sign/pgp_sign.c | 5 ++++- usr.sbin/pkg_install/sign/sha1.c | 4 +++- usr.sbin/pkg_install/sign/sign.c | 5 ++++- usr.sbin/pkg_install/sign/stand.c | 3 ++- usr.sbin/pkg_install/sign/x509.c | 4 +++- 32 files changed, 97 insertions(+), 120 deletions(-) diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c index b1ae46089f2e..1574f0e1c067 100644 --- a/usr.sbin/pkg_install/add/extract.c +++ b/usr.sbin/pkg_install/add/extract.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include "lib.h" #include "add.h" diff --git a/usr.sbin/pkg_install/add/futil.c b/usr.sbin/pkg_install/add/futil.c index 8f9e1a3f16ea..66ff7383564a 100644 --- a/usr.sbin/pkg_install/add/futil.c +++ b/usr.sbin/pkg_install/add/futil.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include "lib.h" #include "add.h" diff --git a/usr.sbin/pkg_install/add/main.c b/usr.sbin/pkg_install/add/main.c index 932303887cea..2ebf912b63f2 100644 --- a/usr.sbin/pkg_install/add/main.c +++ b/usr.sbin/pkg_install/add/main.c @@ -18,10 +18,8 @@ * This is the add module. */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif +#include +__FBSDID("$FreeBSD$"); #include #include diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c index 890a996aa5a0..6c83620ab67b 100644 --- a/usr.sbin/pkg_install/add/perform.c +++ b/usr.sbin/pkg_install/add/perform.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include "lib.h" diff --git a/usr.sbin/pkg_install/create/main.c b/usr.sbin/pkg_install/create/main.c index 395eb4a43074..7b1248ad3560 100644 --- a/usr.sbin/pkg_install/create/main.c +++ b/usr.sbin/pkg_install/create/main.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -14,6 +9,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include "lib.h" #include "create.h" diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 2aa7e85bc6d7..bc2a3913de13 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include "create.h" diff --git a/usr.sbin/pkg_install/create/pl.c b/usr.sbin/pkg_install/create/pl.c index a12ce625d463..eb4076bc98f3 100644 --- a/usr.sbin/pkg_install/create/pl.c +++ b/usr.sbin/pkg_install/create/pl.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include "create.h" #include diff --git a/usr.sbin/pkg_install/delete/main.c b/usr.sbin/pkg_install/delete/main.c index b537ebd775b9..dcac1d67d384 100644 --- a/usr.sbin/pkg_install/delete/main.c +++ b/usr.sbin/pkg_install/delete/main.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * * FreeBSD install - a package for the installation and maintainance @@ -24,6 +19,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index dfe7c91ed862..77635ef3c13b 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include #include "lib.h" #include "delete.h" diff --git a/usr.sbin/pkg_install/info/main.c b/usr.sbin/pkg_install/info/main.c index 36c49358bff4..ae62a38d554a 100644 --- a/usr.sbin/pkg_install/info/main.c +++ b/usr.sbin/pkg_install/info/main.c @@ -19,15 +19,13 @@ * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include "info.h" #include -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - static char Options[] = "acdDe:fgGhiIkl:LmopqrRst:vVW:x"; int Flags = 0; diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 9c5c927beaeb..d06f5e6dd24e 100644 --- a/usr.sbin/pkg_install/info/perform.c +++ b/usr.sbin/pkg_install/info/perform.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include "info.h" #include diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c index 03b1a5371595..fb896ed733e1 100644 --- a/usr.sbin/pkg_install/info/show.c +++ b/usr.sbin/pkg_install/info/show.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include "info.h" #include diff --git a/usr.sbin/pkg_install/lib/deps.c b/usr.sbin/pkg_install/lib/deps.c index 04f42b35a100..2bda51716caf 100644 --- a/usr.sbin/pkg_install/lib/deps.c +++ b/usr.sbin/pkg_install/lib/deps.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -24,6 +19,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/exec.c b/usr.sbin/pkg_install/lib/exec.c index e4b477a3b5dc..86285fb22e21 100644 --- a/usr.sbin/pkg_install/lib/exec.c +++ b/usr.sbin/pkg_install/lib/exec.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 26b1f3702126..fabbc15883a8 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/global.c b/usr.sbin/pkg_install/lib/global.c index 513cf4152819..291f48b42552 100644 --- a/usr.sbin/pkg_install/lib/global.c +++ b/usr.sbin/pkg_install/lib/global.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -24,6 +19,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" /* These are global for all utils */ diff --git a/usr.sbin/pkg_install/lib/match.c b/usr.sbin/pkg_install/lib/match.c index 7a273e005d70..90b697929b9c 100644 --- a/usr.sbin/pkg_install/lib/match.c +++ b/usr.sbin/pkg_install/lib/match.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/msg.c b/usr.sbin/pkg_install/lib/msg.c index adff123adc21..5b17624016d0 100644 --- a/usr.sbin/pkg_install/lib/msg.c +++ b/usr.sbin/pkg_install/lib/msg.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -17,13 +12,15 @@ static const char rcsid[] = * documentation and/or other materials provided with the distribution. * * Jordan K. Hubbard - * 18 July 1993 * * Miscellaneous message routines. * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/pen.c b/usr.sbin/pkg_install/lib/pen.c index eae54eae07ac..b76b4a6ed5de 100644 --- a/usr.sbin/pkg_install/lib/pen.c +++ b/usr.sbin/pkg_install/lib/pen.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c index 4e3fd46d3d5a..c60e589d7d8c 100644 --- a/usr.sbin/pkg_install/lib/plist.c +++ b/usr.sbin/pkg_install/lib/plist.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include #include diff --git a/usr.sbin/pkg_install/lib/str.c b/usr.sbin/pkg_install/lib/str.c index c674e1fef15f..8f6aec33d26b 100644 --- a/usr.sbin/pkg_install/lib/str.c +++ b/usr.sbin/pkg_install/lib/str.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -23,6 +18,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" char * diff --git a/usr.sbin/pkg_install/lib/version.c b/usr.sbin/pkg_install/lib/version.c index 1348fe8a52e0..dca95cce6932 100644 --- a/usr.sbin/pkg_install/lib/version.c +++ b/usr.sbin/pkg_install/lib/version.c @@ -1,8 +1,3 @@ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif - /* * FreeBSD install - a package for the installation and maintainance * of non-core utilities. @@ -29,6 +24,9 @@ static const char rcsid[] = * */ +#include +__FBSDID("$FreeBSD$"); + #include "lib.h" #include diff --git a/usr.sbin/pkg_install/sign/check.c b/usr.sbin/pkg_install/sign/check.c index d92353863660..cfc3bfa17f06 100644 --- a/usr.sbin/pkg_install/sign/check.c +++ b/usr.sbin/pkg_install/sign/check.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: check.c,v 1.2 1999/10/04 21:46:27 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -29,6 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + /* Simple code for a stand-alone package checker */ #include #include diff --git a/usr.sbin/pkg_install/sign/common.c b/usr.sbin/pkg_install/sign/common.c index 8b41bcda17ef..ec3235755ee4 100644 --- a/usr.sbin/pkg_install/sign/common.c +++ b/usr.sbin/pkg_install/sign/common.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: common.c,v 1.3 1999/10/07 16:30:32 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -29,6 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/gzip.c b/usr.sbin/pkg_install/sign/gzip.c index 89cdb9cc6787..33d9baebc074 100644 --- a/usr.sbin/pkg_install/sign/gzip.c +++ b/usr.sbin/pkg_install/sign/gzip.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: gzip.c,v 1.3 1999/10/04 21:46:28 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -28,6 +27,10 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/main.c b/usr.sbin/pkg_install/sign/main.c index 09df2d1db0cd..c5068b77b1d1 100644 --- a/usr.sbin/pkg_install/sign/main.c +++ b/usr.sbin/pkg_install/sign/main.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: main.c,v 1.2 1999/10/04 21:46:28 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -29,6 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/pgp_check.c b/usr.sbin/pkg_install/sign/pgp_check.c index d1fef13d5b49..52b0345b48ac 100644 --- a/usr.sbin/pkg_install/sign/pgp_check.c +++ b/usr.sbin/pkg_install/sign/pgp_check.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: pgp_check.c,v 1.2 1999/10/07 16:30:32 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -29,6 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/pgp_sign.c b/usr.sbin/pkg_install/sign/pgp_sign.c index a9bd7956f7d5..a3d9cf146096 100644 --- a/usr.sbin/pkg_install/sign/pgp_sign.c +++ b/usr.sbin/pkg_install/sign/pgp_sign.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: pgp_sign.c,v 1.1 1999/10/04 21:46:29 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -28,6 +27,10 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/sha1.c b/usr.sbin/pkg_install/sign/sha1.c index a8a23ceaec5c..24ca99711306 100644 --- a/usr.sbin/pkg_install/sign/sha1.c +++ b/usr.sbin/pkg_install/sign/sha1.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: sha1.c,v 1.1 1999/10/04 21:46:29 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -29,6 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/sign.c b/usr.sbin/pkg_install/sign/sign.c index 1bcbcf5ff641..56572d8b8090 100644 --- a/usr.sbin/pkg_install/sign/sign.c +++ b/usr.sbin/pkg_install/sign/sign.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* $OpenBSD: sign.c,v 1.3 1999/10/04 21:46:29 espie Exp $ */ /*- * Copyright (c) 1999 Marc Espie. @@ -28,6 +27,10 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +#include +__FBSDID("$FreeBSD$"); + #include #include #include diff --git a/usr.sbin/pkg_install/sign/stand.c b/usr.sbin/pkg_install/sign/stand.c index 7fa84d24d8d8..703c58db5224 100644 --- a/usr.sbin/pkg_install/sign/stand.c +++ b/usr.sbin/pkg_install/sign/stand.c @@ -1,4 +1,5 @@ -/* $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); #include "stand.h" diff --git a/usr.sbin/pkg_install/sign/x509.c b/usr.sbin/pkg_install/sign/x509.c index 27ab10a80564..59177342b151 100644 --- a/usr.sbin/pkg_install/sign/x509.c +++ b/usr.sbin/pkg_install/sign/x509.c @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*- * Copyright (c) 2000 Softweyr LLC, South Jordan, Utah, USA. * @@ -25,6 +24,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +__FBSDID("$FreeBSD$"); + #include #include