Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/tools/compat Add some define's to null out RCSID/COPYRI...



details:   https://anonhg.NetBSD.org/src/rev/8d1e6d3ac3f5
branches:  netbsd-1-6
changeset: 531399:8d1e6d3ac3f5
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Jun 16 01:25:51 2004 +0000

description:
Add some define's to null out RCSID/COPYRIGHT/etc. Also add _PATH_DEFTAPE.
Fixes issues from PR#24481

diffstat:

 tools/compat/compat_defs.h |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 08118e3927b2 -r 8d1e6d3ac3f5 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Mon Jun 14 18:28:46 2004 +0000
+++ b/tools/compat/compat_defs.h        Wed Jun 16 01:25:51 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.15.2.3 2004/06/14 16:56:58 tron Exp $        */
+/*     $NetBSD: compat_defs.h,v 1.15.2.4 2004/06/16 01:25:51 jmc Exp $ */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -297,6 +297,16 @@
 #undef _DIAGASSERT
 #define _DIAGASSERT(x)
 
+/* Various sources use this */
+#undef  __RCSID
+#define __RCSID(x)
+#undef  __SCCSID
+#define __SCCSID(x)
+#undef  __COPYRIGHT
+#define __COPYRIGHT(x)
+#undef  __KERNEL_RCSID
+#define __KERNEL_RCSID(x,y)
+
 /* Heimdal expects this one. */
 
 #undef RCSID
@@ -364,6 +374,9 @@
 #ifndef _PATH_TMP
 #define _PATH_TMP "/tmp/"
 #endif
+#ifndef _PATH_DEFTAPE
+#define _PATH_DEFTAPE "/dev/nrst0"
+#endif
 
 /* <stdarg.h> */
 



Home | Main Index | Thread Index | Old Index