This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] top.c: One more extern zapped
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] top.c: One more extern zapped
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Mon, 16 Jul 2001 12:48:23 -0400
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;