From 8fe84d014901cb627303bb59822928b76d70d58c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 3 Jan 2003 14:10:08 +0000 Subject: [PATCH] * 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). --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 2 +- gdb/cli/cli-decode.h | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96aa09ebfee..241afeb5260 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-01-03 Mark Kettenis + + * 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 * mdebugread.c (parse_symbol): Count until the stEnd matching diff --git a/gdb/Makefile.in b/gdb/Makefile.in index a36ce57f607..843c05f898b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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 diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h index e8563ff5c59..cb54721564e 100644 --- a/gdb/cli/cli-decode.h +++ b/gdb/cli/cli-decode.h @@ -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". */ -- 2.30.2