aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-16 15:50:51 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-16 15:50:51 +0000
commit314b6fb79ad0c7c87dfc265dc5f6f19123c78bb8 (patch)
tree1c035f4b03495257ce30d8208f8217cf669da7a2 /gdb
parent210661e72f813f88355073842a68bcad63eb6760 (diff)
downloadgdb-314b6fb79ad0c7c87dfc265dc5f6f19123c78bb8.zip
gdb-314b6fb79ad0c7c87dfc265dc5f6f19123c78bb8.tar.gz
gdb-314b6fb79ad0c7c87dfc265dc5f6f19123c78bb8.tar.bz2
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.
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;