Source-Changes-HG archive

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

[src/trunk]: src/tools/compat Define __RCSID and __COPYRIGHT as structure, so...



details:   https://anonhg.NetBSD.org/src/rev/a3fd07dc8a7e
branches:  trunk
changeset: 748834:a3fd07dc8a7e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Nov 06 18:26:06 2009 +0000

description:
Define __RCSID and __COPYRIGHT as structure, so that the following
semicolon is consumed.

diffstat:

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

diffs (23 lines):

diff -r 2a3cf7a60b14 -r a3fd07dc8a7e tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Fri Nov 06 18:18:57 2009 +0000
+++ b/tools/compat/compat_defs.h        Fri Nov 06 18:26:06 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.73 2009/10/02 18:03:19 christos Exp $        */
+/*     $NetBSD: compat_defs.h,v 1.74 2009/11/06 18:26:06 joerg Exp $   */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -513,11 +513,11 @@
 
 /* Various sources use this */
 #undef __RCSID
-#define        __RCSID(x)
+#define        __RCSID(x) struct XXXNETBSD_RCSID
 #undef __SCCSID
 #define        __SCCSID(x)
 #undef __COPYRIGHT
-#define        __COPYRIGHT(x)
+#define        __COPYRIGHT(x) struct XXXNETBSD_COPYRIGHT
 #undef __KERNEL_RCSID
 #define        __KERNEL_RCSID(x,y)
 



Home | Main Index | Thread Index | Old Index