From 95477222e56585bc5fa46b04bbd8d383e93f5f26 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 4 Dec 1995 14:23:19 +0000 Subject: [PATCH] a.out is more likely, so check for it first --- lib/libc/gen/nlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c index 347982a3123..e3b31868865 100644 --- a/lib/libc/gen/nlist.c +++ b/lib/libc/gen/nlist.c @@ -270,15 +270,15 @@ __elf_fdnlist(fd, list) static struct nlist_handlers { int (*fn) __P((int fd, struct nlist *list)); } nlist_fn[] = { +#ifdef DO_AOUT + { __aout_fdnlist }, +#endif #ifdef DO_ELF { __elf_fdnlist }, #endif #ifdef DO_ECOFF { __ecoff_fdnlist }, #endif -#ifdef DO_AOUT - { __aout_fdnlist }, -#endif }; __fdnlist(fd, list) -- 2.20.1