From a25058f6313d5a7e9312a3ae71e706b3ec55ef1d Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 9 Oct 1998 23:29:44 +0000 Subject: [PATCH] We don't compile this on an elf kernel (and explicitly not on alpha in case it's possible to compile in something like ECOFF) The three db_xxx.c symbol interfaces are "standard" because config isn't flexible enough without forcing the user to know about it. --- sys/ddb/db_aout.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index 093fad09f528..eeca60e63555 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_aout.c,v 1.20 1998/06/07 17:09:36 dfr Exp $ + * $Id: db_aout.c,v 1.21 1998/06/28 00:55:02 dfr Exp $ */ /* @@ -34,6 +34,8 @@ * Symbol table routines for a.out format files. */ +#if !defined(__ELF__) && !defined(__alpha__) + #include #include @@ -42,8 +44,6 @@ #include #include -#ifndef DB_NO_AOUT - #define _AOUT_INCLUDE_ #include #include @@ -399,5 +399,4 @@ read_symtab_from_file(fp, symtab_name) } #endif - -#endif /* DB_NO_AOUT */ +#endif