From 72daee80beadda8c99b66f2a385362b0b09d8bc3 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Sun, 25 Aug 2002 23:47:37 +0000 Subject: [PATCH] 2002-08-25 Elena Zannoni * cli/cli-cmds.c: Include readline/tilde.h. * cli/cli-setshow.c: Ditto. * defs.h: Don't declare tilde_expand anymore, since readline exports it. --- gdb/ChangeLog | 7 +++++++ gdb/cli/cli-cmds.c | 1 + gdb/cli/cli-setshow.c | 1 + gdb/defs.h | 4 ---- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 25a0285b7de..3cd9a9a6e99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-08-25 Elena Zannoni + + * cli/cli-cmds.c: Include readline/tilde.h. + * cli/cli-setshow.c: Ditto. + * defs.h: Don't declare tilde_expand anymore, since readline + exports it. + 2002-08-24 Mark Kettenis * valprint.c (print_longest) [CC_HAS_LONG_LONG && diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 799e1f464d6..3d947cee70f 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include "defs.h" #include "completer.h" #include "target.h" /* For baud_rate, remote_debug and remote_timeout */ diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index 44b0b4ec460..efd334f25e4 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -17,6 +17,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include "defs.h" #include "value.h" #include diff --git a/gdb/defs.h b/gdb/defs.h index 89a90d6fba9..ec9063571be 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -614,10 +614,6 @@ enum lval_type struct frame_info; -/* From readline (but not in any readline .h files). */ - -extern char *tilde_expand (char *); - /* Control types for commands */ enum misc_command_type -- 2.47.2