summaryrefslogtreecommitdiff
path: root/distrib/common/elfrd_size.c
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2017-07-31 01:18:10 +0000
committermortimer <mortimer@cvs.openbsd.org>2017-07-31 01:18:10 +0000
commita1363b540024269cf815f5fc4fc0c9c849aa3434 (patch)
tree2d122a611155cf57ace77670405b0b047c23bb0c /distrib/common/elfrd_size.c
parentd914126a37c567ba9e58a531100f88688e202d68 (diff)
Style fix and unused var/label cleanup. From Matthew Martin.
ok deraadt@
Diffstat (limited to 'distrib/common/elfrd_size.c')
-rw-r--r--distrib/common/elfrd_size.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/common/elfrd_size.c b/distrib/common/elfrd_size.c
index e988ccc3b3c..67d2705ccd3 100644
--- a/distrib/common/elfrd_size.c
+++ b/distrib/common/elfrd_size.c
@@ -24,7 +24,7 @@ int
ELFNAME(find_rd_root_image)(char *, int, Elf_Phdr *, int, long *, long *,
off_t *, size_t *);
int
-ELFNAME(nlist)(int fd, struct nlist *list);
+ELFNAME(nlist)(int, struct nlist *);
struct elf_fn ELFDEFNNAME(fn) =
{
@@ -371,7 +371,6 @@ ELFNAME(nlist)(int fd, struct nlist *list)
}
}
}
-elf_done:
if (usemalloc)
free(strtab);
else