Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Protect __RCSID and __COPYRIGHT from being invoked if not de...
details: https://anonhg.NetBSD.org/src/rev/d1d6b9726777
branches: trunk
changeset: 521514:d1d6b9726777
user: tv <tv%NetBSD.org@localhost>
date: Thu Jan 31 19:36:47 2002 +0000
description:
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
diffstat:
usr.bin/m4/eval.c | 6 +++---
usr.bin/m4/expr.c | 6 +++---
usr.bin/m4/look.c | 6 +++---
usr.bin/m4/main.c | 8 ++++----
usr.bin/m4/misc.c | 6 +++---
usr.bin/rpcgen/rpc_clntout.c | 6 +++---
usr.bin/rpcgen/rpc_parse.c | 6 +++---
usr.bin/rpcgen/rpc_sample.c | 6 +++---
usr.bin/rpcgen/rpc_scan.c | 6 +++---
usr.bin/rpcgen/rpc_svcout.c | 6 +++---
usr.bin/rpcgen/rpc_tblout.c | 6 +++---
usr.bin/rpcgen/rpc_util.c | 6 +++---
usr.bin/tn3270/api/api_bsd.c | 6 +++---
usr.bin/tn3270/api/api_exch.c | 6 +++---
usr.bin/tn3270/api/apilib.c | 6 +++---
usr.bin/tn3270/api/asc_ebc.c | 6 +++---
usr.bin/tn3270/api/astosc.c | 6 +++---
usr.bin/tn3270/api/dctype.c | 6 +++---
usr.bin/tn3270/api/disp_asc.c | 6 +++---
usr.bin/tn3270/api/ebc_disp.c | 6 +++---
usr.bin/tn3270/tools/mkastods/mkastods.c | 8 ++++----
usr.bin/tn3270/tools/mkastosc/mkastosc.c | 6 +++---
usr.bin/tn3270/tools/mkdctype/ectype.c | 6 +++---
usr.bin/tn3270/tools/mkdctype/mkdctype.c | 8 ++++----
usr.bin/tn3270/tools/mkdstoas/mkdstoas.c | 8 ++++----
usr.bin/tn3270/tools/mkhits/dohits.c | 6 +++---
usr.bin/tn3270/tools/mkhits/mkhits.c | 8 ++++----
usr.bin/tn3270/tools/mkmake/mkmake.y | 6 +++---
usr.bin/tn3270/tools/prt3270/prt3270.c | 8 ++++----
usr.bin/xlint/common/emit.c | 6 +++---
usr.bin/xlint/common/inittyp.c | 6 +++---
usr.bin/xlint/common/mem.c | 6 +++---
usr.bin/xlint/lint1/cgram.y | 6 +++---
usr.bin/xlint/lint1/decl.c | 6 +++---
usr.bin/xlint/lint1/emit1.c | 6 +++---
usr.bin/xlint/lint1/err.c | 6 +++---
usr.bin/xlint/lint1/func.c | 6 +++---
usr.bin/xlint/lint1/init.c | 6 +++---
usr.bin/xlint/lint1/mem1.c | 8 +++-----
usr.bin/xlint/lint1/scan.l | 6 +++---
usr.bin/xlint/lint1/tree.c | 6 +++---
usr.bin/xlint/lint2/chk.c | 6 +++---
usr.bin/xlint/lint2/emit2.c | 6 +++---
usr.bin/xlint/lint2/hash.c | 6 +++---
usr.bin/xlint/lint2/main2.c | 6 +++---
usr.bin/xlint/lint2/mem2.c | 6 +++---
usr.bin/xlint/lint2/msg.c | 6 +++---
usr.bin/xlint/lint2/read.c | 6 +++---
usr.sbin/makefs/ffs/ufs_bmap.c | 6 +++---
usr.sbin/mtree/compare.c | 6 +++---
usr.sbin/mtree/crc.c | 6 +++---
usr.sbin/mtree/create.c | 6 +++---
usr.sbin/mtree/misc.c | 6 +++---
usr.sbin/mtree/mtree.c | 8 ++++----
usr.sbin/mtree/verify.c | 6 +++---
55 files changed, 172 insertions(+), 174 deletions(-)
diffs (truncated from 1263 to 300 lines):
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/m4/eval.c
--- a/usr.bin/m4/eval.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/m4/eval.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.15 2002/01/21 21:49:57 tv Exp $ */
+/* $NetBSD: eval.c,v 1.16 2002/01/31 19:36:47 tv Exp $ */
/* $OpenBSD: eval.c,v 1.41 2001/10/10 23:25:31 espie Exp $ */
/*
@@ -38,11 +38,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)eval.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: eval.c,v 1.15 2002/01/21 21:49:57 tv Exp $");
+__RCSID("$NetBSD: eval.c,v 1.16 2002/01/31 19:36:47 tv Exp $");
#endif
#endif /* not lint */
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/m4/expr.c
--- a/usr.bin/m4/expr.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/m4/expr.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr.c,v 1.13 2002/01/21 21:49:57 tv Exp $ */
+/* $NetBSD: expr.c,v 1.14 2002/01/31 19:36:47 tv Exp $ */
/* $OpenBSD: expr.c,v 1.11 2000/01/11 14:00:57 espie Exp $ */
/*
@@ -38,11 +38,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)expr.c 8.2 (Berkeley) 4/29/95";
#else
-__RCSID("$NetBSD: expr.c,v 1.13 2002/01/21 21:49:57 tv Exp $");
+__RCSID("$NetBSD: expr.c,v 1.14 2002/01/31 19:36:47 tv Exp $");
#endif
#endif /* not lint */
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/m4/look.c
--- a/usr.bin/m4/look.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/m4/look.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: look.c,v 1.7 2001/11/14 06:16:09 tv Exp $ */
+/* $NetBSD: look.c,v 1.8 2002/01/31 19:36:47 tv Exp $ */
/* $OpenBSD: look.c,v 1.8 2001/09/17 08:11:13 espie Exp $ */
/*
@@ -38,11 +38,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)look.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: look.c,v 1.7 2001/11/14 06:16:09 tv Exp $");
+__RCSID("$NetBSD: look.c,v 1.8 2002/01/31 19:36:47 tv Exp $");
#endif
#endif /* not lint */
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/m4/main.c
--- a/usr.bin/m4/main.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/m4/main.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.29 2002/01/21 21:49:58 tv Exp $ */
+/* $NetBSD: main.c,v 1.30 2002/01/31 19:36:47 tv Exp $ */
/* $OpenBSD: main.c,v 1.51 2001/10/06 10:52:25 espie Exp $ */
/*-
@@ -38,16 +38,16 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__COPYRIGHT) && !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n");
#endif /* not lint */
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: main.c,v 1.29 2002/01/21 21:49:58 tv Exp $");
+__RCSID("$NetBSD: main.c,v 1.30 2002/01/31 19:36:47 tv Exp $");
#endif
#endif /* not lint */
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/m4/misc.c
--- a/usr.bin/m4/misc.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/m4/misc.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.14 2002/01/21 21:49:58 tv Exp $ */
+/* $NetBSD: misc.c,v 1.15 2002/01/31 19:36:47 tv Exp $ */
/* $OpenBSD: misc.c,v 1.25 2001/10/10 11:17:37 espie Exp $ */
/*
@@ -38,11 +38,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: misc.c,v 1.14 2002/01/21 21:49:58 tv Exp $");
+__RCSID("$NetBSD: misc.c,v 1.15 2002/01/31 19:36:47 tv Exp $");
#endif
#endif /* not lint */
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_clntout.c
--- a/usr.bin/rpcgen/rpc_clntout.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_clntout.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_clntout.c,v 1.11 2001/09/26 20:51:39 kleink Exp $ */
+/* $NetBSD: rpc_clntout.c,v 1.12 2002/01/31 19:36:48 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_clntout.c 1.11 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_clntout.c,v 1.11 2001/09/26 20:51:39 kleink Exp $");
+__RCSID("$NetBSD: rpc_clntout.c,v 1.12 2002/01/31 19:36:48 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_parse.c
--- a/usr.bin/rpcgen/rpc_parse.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_parse.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_parse.c,v 1.10 1999/12/15 16:47:35 bouyer Exp $ */
+/* $NetBSD: rpc_parse.c,v 1.11 2002/01/31 19:36:49 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_parse.c,v 1.10 1999/12/15 16:47:35 bouyer Exp $");
+__RCSID("$NetBSD: rpc_parse.c,v 1.11 2002/01/31 19:36:49 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_sample.c
--- a/usr.bin/rpcgen/rpc_sample.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_sample.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_sample.c,v 1.8 2001/03/21 20:11:01 mycroft Exp $ */
+/* $NetBSD: rpc_sample.c,v 1.9 2002/01/31 19:36:49 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_sample.c,v 1.8 2001/03/21 20:11:01 mycroft Exp $");
+__RCSID("$NetBSD: rpc_sample.c,v 1.9 2002/01/31 19:36:49 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_scan.c
--- a/usr.bin/rpcgen/rpc_scan.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_scan.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_scan.c,v 1.7 1998/12/19 21:19:12 christos Exp $ */
+/* $NetBSD: rpc_scan.c,v 1.8 2002/01/31 19:36:49 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_scan.c,v 1.7 1998/12/19 21:19:12 christos Exp $");
+__RCSID("$NetBSD: rpc_scan.c,v 1.8 2002/01/31 19:36:49 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_svcout.c
--- a/usr.bin/rpcgen/rpc_svcout.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_svcout.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_svcout.c,v 1.14 2001/03/21 20:11:01 mycroft Exp $ */
+/* $NetBSD: rpc_svcout.c,v 1.15 2002/01/31 19:36:49 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_svcout.c,v 1.14 2001/03/21 20:11:01 mycroft Exp $");
+__RCSID("$NetBSD: rpc_svcout.c,v 1.15 2002/01/31 19:36:49 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_tblout.c
--- a/usr.bin/rpcgen/rpc_tblout.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_tblout.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_tblout.c,v 1.8 2000/10/11 14:46:17 is Exp $ */
+/* $NetBSD: rpc_tblout.c,v 1.9 2002/01/31 19:36:49 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI";
#else
-__RCSID("$NetBSD: rpc_tblout.c,v 1.8 2000/10/11 14:46:17 is Exp $");
+__RCSID("$NetBSD: rpc_tblout.c,v 1.9 2002/01/31 19:36:49 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/rpcgen/rpc_util.c
--- a/usr.bin/rpcgen/rpc_util.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/rpcgen/rpc_util.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_util.c,v 1.8 1997/10/18 10:54:14 lukem Exp $ */
+/* $NetBSD: rpc_util.c,v 1.9 2002/01/31 19:36:50 tv Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -30,11 +30,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)rpc_util.c 1.11 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_util.c,v 1.8 1997/10/18 10:54:14 lukem Exp $");
+__RCSID("$NetBSD: rpc_util.c,v 1.9 2002/01/31 19:36:50 tv Exp $");
#endif
#endif
diff -r 2fe3ec5bfe58 -r d1d6b9726777 usr.bin/tn3270/api/api_bsd.c
--- a/usr.bin/tn3270/api/api_bsd.c Thu Jan 31 19:33:50 2002 +0000
+++ b/usr.bin/tn3270/api/api_bsd.c Thu Jan 31 19:36:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: api_bsd.c,v 1.7 1998/11/06 20:00:07 christos Exp $ */
+/* $NetBSD: api_bsd.c,v 1.8 2002/01/31 19:36:50 tv Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -34,11 +34,11 @@
*/
#include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
#if 0
static char sccsid[] = "@(#)api_bsd.c 4.2 (Berkeley) 4/26/91";
#else
Home |
Main Index |
Thread Index |
Old Index