2001-07-16 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 16 Jul 2001 15:50:51 +0000 (15:50 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 16 Jul 2001 15:50:51 +0000 (15:50 +0000)
        * top.c (show_commands): Remove extern decl of history_get, it's
already in readline/history.h.

gdb/ChangeLog
gdb/top.c

index d578419..6f728f7 100644 (file)
@@ -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
index b0dc671..a749afe 100644 (file)
--- 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;