Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Oops, some source files use __IDSTRING() directly, s...



details:   https://anonhg.NetBSD.org/src/rev/a2d12ed4dec4
branches:  trunk
changeset: 467357:a2d12ed4dec4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Mar 23 18:28:12 1999 +0000

description:
Oops, some source files use __IDSTRING() directly, so provide one in
the ELF case, as well.

diffstat:

 sys/sys/cdefs_elf.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 305a3d27bf4e -r a2d12ed4dec4 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h       Tue Mar 23 18:10:57 1999 +0000
+++ b/sys/sys/cdefs_elf.h       Tue Mar 23 18:28:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs_elf.h,v 1.1 1999/03/20 01:39:23 thorpej Exp $    */
+/*     $NetBSD: cdefs_elf.h,v 1.2 1999/03/23 18:28:12 thorpej Exp $    */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -66,9 +66,11 @@
        __asm__(".section _sec ; .asciz _str ; .text")
 #endif
 
-#define        __RCSID(_s)                     __SECTIONSTRING(.ident, _s)
+#define        __IDSTRING(_n,_s)               __SECTIONSTRING(.ident,_s)
+
+#define        __RCSID(_s)                     __IDSTRING(rcsid,_s)
 #if 0  /* XXX userland __COPYRIGHTs have \ns in them */
-#define        __COPYRIGHT(_s)                 __SECTIONSTRING(.copyright, _s)
+#define        __COPYRIGHT(_s)                 __SECTIONSTRING(.copyright,_s)
 #else
 #define        __COPYRIGHT(_s)                                                 \
        static const char copyright[] __attribute__((__unused__)) = _s



Home | Main Index | Thread Index | Old Index