Remove ELFNAME macros which are already defines in exec_elf.h

This commit is contained in:
erh 1999-10-21 21:15:04 +00:00
parent 3923b9d80e
commit b11baa5513
2 changed files with 2 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: map_object.c,v 1.5 1999/08/06 22:33:49 thorpej Exp $ */ /* $NetBSD: map_object.c,v 1.6 1999/10/21 21:15:04 erh Exp $ */
/* /*
* Copyright 1996 John D. Polstra. * Copyright 1996 John D. Polstra.
@ -40,12 +40,6 @@
#include "rtld.h" #include "rtld.h"
#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)))
static int protflags __P((int)); /* Elf flags -> mmap protection */ static int protflags __P((int)); /* Elf flags -> mmap protection */
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: search.c,v 1.5 1999/08/01 19:47:07 kleink Exp $ */ /* $NetBSD: search.c,v 1.6 1999/10/21 21:15:04 erh Exp $ */
/* /*
* Copyright 1996 Matt Thomas <matt@3am-software.com> * Copyright 1996 Matt Thomas <matt@3am-software.com>
@ -52,12 +52,6 @@
#include "debug.h" #include "debug.h"
#include "rtld.h" #include "rtld.h"
#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)))
/* /*
* Data declarations. * Data declarations.
*/ */