This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] top.c: One more extern zapped



Just committed this.

Elena


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.

Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.39
diff -u -p -r1.39 top.c
--- top.c	2001/07/16 14:46:34	1.39
+++ top.c	2001/07/16 15:48:17
@@ -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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]