diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-13 06:37:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-13 06:37:25 +0000 |
commit | 444642bbf9238eff53f8eb5b038ba52bf66afe72 (patch) | |
tree | 75e898973bfd2797cf6e33c4f0723978bf527ae7 | |
parent | 804b61213e97f35687d636f985f1142b51ab410e (diff) |
proto and such cleanup
ok guenther
-rw-r--r-- | usr.bin/nm/elf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/nm/elf.c b/usr.bin/nm/elf.c index d279e96f577..a528588d1e3 100644 --- a/usr.bin/nm/elf.c +++ b/usr.bin/nm/elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf.c,v 1.21 2013/03/30 21:26:09 miod Exp $ */ +/* $OpenBSD: elf.c,v 1.22 2013/11/13 06:37:24 deraadt Exp $ */ /* * Copyright (c) 2003 Michael Shalayeff @@ -115,6 +115,9 @@ #define STT_PARISC_MILLI STT_LOPROC + 0 #endif +int elf_shn2type(Elf_Ehdr *, u_int, const char *); +int elf2nlist(Elf_Sym *, Elf_Ehdr *, Elf_Shdr *, char *, struct nlist *); + int elf_fix_header(Elf_Ehdr *eh) { @@ -512,7 +515,7 @@ elf_symloadx(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh, *pnrawnames = np - *pnames; } } - + return (0); } int |