* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward

declaration for `struct re_pattern_buffer' instead.
* Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
This commit is contained in:
Mark Kettenis 2003-01-03 14:10:08 +00:00
parent f0394be648
commit 8fe84d0149
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-01-03 Mark Kettenis <kettenis@gnu.org>
* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
declaration for `struct re_pattern_buffer' instead.
* Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
2003-01-03 J. Brobecker <brobecker@gnat.com>
* mdebugread.c (parse_symbol): Count until the stEnd matching

View File

@ -717,7 +717,7 @@ xmodem_h = xmodem.h
#
cli_cmds_h = $(srcdir)/cli/cli-cmds.h
cli_decode_h = $(srcdir)/cli/cli-decode.h $(gdb_regex_h) $(command_h)
cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
cli_dump_h = $(srcdir)/cli/cli-dump.h
cli_script_h = $(srcdir)/cli/cli-script.h
cli_setshow_h = $(srcdir)/cli/cli-setshow.h

View File

@ -19,9 +19,10 @@
#if !defined (CLI_DECODE_H)
#define CLI_DECODE_H 1
#include "gdb_regex.h" /* Needed by apropos_cmd. */
#include "command.h"
struct re_pattern_buffer;
#if 0
/* FIXME: cagney/2002-03-17: Once cmd_type() has been removed, ``enum
cmd_types'' can be moved from "command.h" to "cli-decode.h". */