Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Remove ELFNAME macros which are already defined...



details:   https://anonhg.NetBSD.org/src/rev/29b941261585
branches:  trunk
changeset: 477566:29b941261585
user:      erh <erh%NetBSD.org@localhost>
date:      Thu Oct 21 21:12:37 1999 +0000

description:
Remove ELFNAME macros which are already defined in exec_elf.h.

diffstat:

 lib/libc/gen/nlist_elf32.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r fe82a0b22e15 -r 29b941261585 lib/libc/gen/nlist_elf32.c
--- a/lib/libc/gen/nlist_elf32.c        Thu Oct 21 21:10:24 1999 +0000
+++ b/lib/libc/gen/nlist_elf32.c        Thu Oct 21 21:12:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nlist_elf32.c,v 1.15 1999/09/20 04:39:03 lukem Exp $   */
+/*     $NetBSD: nlist_elf32.c,v 1.16 1999/10/21 21:12:37 erh Exp $     */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -56,12 +56,6 @@
 #if (defined(NLIST_ELF32) && (ELFSIZE == 32)) || \
     (defined(NLIST_ELF64) && (ELFSIZE == 64))
 
-#define        CONCAT(x,y)     __CONCAT(x,y)
-#define        ELFNAME(x)      CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x)))
-#define        ELFNAME2(x,y)   CONCAT(x,CONCAT(_elf,CONCAT(ELFSIZE,CONCAT(_,y))))
-#define        ELFNAMEEND(x)   CONCAT(x,CONCAT(_elf,ELFSIZE))
-#define        ELFDEFNNAME(x)  CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
-
 /* No need to check for off < 0 because it is unsigned */
 #define        check(off, size)        (off + size > mappedsize)
 #define        BAD                     goto out



Home | Main Index | Thread Index | Old Index