From: Andrew Cagney Date: Fri, 28 Jun 2002 23:42:33 +0000 (+0000) Subject: * macrotab.h: Do not include "obstack.h" or "bcache.h". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa84d1bb9b0104984e3766ae44d51190333c4ddc;p=binutils-gdb.git * macrotab.h: Do not include "obstack.h" or "bcache.h". (struct obstack, struct bcache): Add opaque declarations. * Makefile.in (macrotab_h): Update --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4084a83e0a7..0034e77a8cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-06-28 Andrew Cagney + + * macrotab.h: Do not include "obstack.h" or "bcache.h". + (struct obstack, struct bcache): Add opaque declarations. + * Makefile.in (macrotab_h): Update + 2002-06-28 Andrew Cagney * blockframe.c (generic_find_dummy_frame): Change return type to diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ef35cccdb1d..d62c4f89b10 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -637,7 +637,7 @@ inferior_h = inferior.h $(breakpoint_h) language_h = language.h linespec_h = linespec.h macroexp_h = macroexp.h -macrotab_h = macrotab.h $(obstack_h) $(bcache_h) +macrotab_h = macrotab.h macroscope_h = macroscope.h $(macrotab_h) $(symtab_h) memattr_h = memattr.h monitor_h = monitor.h diff --git a/gdb/macrotab.h b/gdb/macrotab.h index cbc6d1b53d7..df32977967e 100644 --- a/gdb/macrotab.h +++ b/gdb/macrotab.h @@ -22,8 +22,8 @@ #ifndef MACROTAB_H #define MACROTAB_H -#include "obstack.h" -#include "bcache.h" +struct obstack; +struct bcache; /* How do we represent a source location? I mean, how should we represent them within GDB; the user wants to use all sorts of