aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d578419..6f728f7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
+ * top.c (show_commands): Remove extern decl of history_get, it's
+ already in readline/history.h.
+
+2001-07-16 Elena Zannoni <ezannoni@redhat.com>
+
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
execute_user_command, do_setshow_command, get_prompt, init_proc,
serial_log_command): Remove extern declarations. Include
diff --git a/gdb/top.c b/gdb/top.c
index b0dc671..a749afe 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1642,8 +1642,6 @@ show_commands (char *args, int from_tty)
than the number of the last command). Relative to history_base. */
int hist_len;
-extern HIST_ENTRY *history_get (int);
-
/* Print out some of the commands from the command history. */
/* First determine the length of the history list. */
hist_len = history_size;