summaryrefslogtreecommitdiff
path: root/lib/libc/gen/nlist.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-04 14:23:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-04 14:23:20 +0000
commitf8c6fb062959a149edcc2e9d34226cb34088a89b (patch)
treea9682d13d7ac80369ad09b7f6f4ded431a778aea /lib/libc/gen/nlist.c
parent1b3d8d0ab1d88b340d1e1a28fcedadc2e394b868 (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.c6
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)