diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-04 14:23:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-04 14:23:20 +0000 |
commit | f8c6fb062959a149edcc2e9d34226cb34088a89b (patch) | |
tree | a9682d13d7ac80369ad09b7f6f4ded431a778aea /lib/libc/gen/nlist.c | |
parent | 1b3d8d0ab1d88b340d1e1a28fcedadc2e394b868 (diff) |
a.out is more likely, so check for it first
Diffstat (limited to 'lib/libc/gen/nlist.c')
-rw-r--r-- | lib/libc/gen/nlist.c | 6 |
1 files 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) |