Source-Changes-HG archive

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

[src/trunk]: src/sys/sys For NO_KERNEL_RCSIDS, strip __RCSID() also for src/c...



details:   https://anonhg.NetBSD.org/src/rev/9ff68bb82d09
branches:  trunk
changeset: 1009381:9ff68bb82d09
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Apr 22 09:23:21 2020 +0000

description:
For NO_KERNEL_RCSIDS, strip __RCSID() also for src/common/*.

diffstat:

 sys/sys/cdefs.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r c70c28857554 -r 9ff68bb82d09 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Wed Apr 22 09:18:42 2020 +0000
+++ b/sys/sys/cdefs.h   Wed Apr 22 09:23:21 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.153 2020/04/17 14:59:23 joerg Exp $        */
+/*     $NetBSD: cdefs.h,v 1.154 2020/04/22 09:23:21 rin Exp $  */
 
 /* * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -481,12 +481,12 @@
 #endif
 #endif /* !(__STDC_VERSION__ >= 199901L) && !(__cplusplus - 0 >= 201103L) */
 
-#if defined(_KERNEL)
-#if defined(NO_KERNEL_RCSIDS)
-#undef __KERNEL_RCSID
-#define        __KERNEL_RCSID(_n, _s)          /* nothing */
-#endif /* NO_KERNEL_RCSIDS */
-#endif /* _KERNEL */
+#if defined(_KERNEL) && defined(NO_KERNEL_RCSIDS)
+#undef __KERNEL_RCSID
+#define        __KERNEL_RCSID(_n, _s)  /* nothing */
+#undef __RCSID
+#define        __RCSID(_s)             /* nothing */
+#endif
 
 #if !defined(_STANDALONE) && !defined(_KERNEL)
 #if defined(__GNUC__) || defined(__PCC__)



Home | Main Index | Thread Index | Old Index