From: deraadt Date: Mon, 4 Dec 1995 14:23:19 +0000 (+0000) Subject: a.out is more likely, so check for it first X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=95477222e56585bc5fa46b04bbd8d383e93f5f26;p=openbsd a.out is more likely, so check for it first --- 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)