Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Userland __COPYRIGHTs have \ns in them, and do not u...



details:   https://anonhg.NetBSD.org/src/rev/afd33902bc9d
branches:  trunk
changeset: 526807:afd33902bc9d
user:      itohy <itohy%NetBSD.org@localhost>
date:      Sat May 11 11:57:14 2002 +0000

description:
Userland __COPYRIGHTs have \ns in them, and do not use asm().

diffstat:

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

diffs (22 lines):

diff -r 9ac64ce66888 -r afd33902bc9d sys/sys/cdefs_aout.h
--- a/sys/sys/cdefs_aout.h      Sat May 11 11:56:57 2002 +0000
+++ b/sys/sys/cdefs_aout.h      Sat May 11 11:57:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs_aout.h,v 1.9 2001/12/14 23:30:02 thorpej Exp $   */
+/*     $NetBSD: cdefs_aout.h,v 1.10 2002/05/11 11:57:14 itohy Exp $    */
 
 /*
  * Written by J.T. Conklin <jtc%wimsey.com@localhost> 01/17/95.
@@ -53,7 +53,12 @@
 #define __RCSID(_s)    __IDSTRING(rcsid,_s)
 #define __SCCSID(_s)
 #define __SCCSID2(_s)
+#if 0  /* XXX userland __COPYRIGHTs have \ns in them */
 #define __COPYRIGHT(_s)        __IDSTRING(copyright,_s)
+#else
+#define __COPYRIGHT(_s)                                                        \
+       static const char copyright[] __attribute__((__unused__)) = _s
+#endif
 
 #if defined(USE_KERNEL_RCSIDS) || !defined(_KERNEL)
 #define        __KERNEL_RCSID(_n,_s) __IDSTRING(__CONCAT(rcsid,_n),_s)



Home | Main Index | Thread Index | Old Index