aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-01-16 03:35:19 +0000
committerPer Bothner <per@bothner.com>1994-01-16 03:35:19 +0000
commit8b564df836ca7baffe636c1a16658cdcb6388080 (patch)
tree5622cc027bd2c8451128e816ac8dd67376079495 /gdb/main.c
parentab5f79719c9519841468ad41d97e6e7d32305698 (diff)
downloadgdb-8b564df836ca7baffe636c1a16658cdcb6388080.zip
gdb-8b564df836ca7baffe636c1a16658cdcb6388080.tar.gz
gdb-8b564df836ca7baffe636c1a16658cdcb6388080.tar.bz2
* main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry. (The latter loses with the upcoming merged readline.)
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/main.c b/gdb/main.c
index c5cfa38..1dafb9f 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1,5 +1,5 @@
/* Top level `main' program for GDB, the GNU debugger.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
Free Software Foundation, Inc.
This file is part of GDB.
@@ -2186,7 +2186,7 @@ GDB %s (%s", version, host_canonical);
fprintf_filtered (stream, "), ");
wrap_here("");
- fprintf_filtered (stream, "Copyright 1993 Free Software Foundation, Inc.");
+ fprintf_filtered (stream, "Copyright 1994 Free Software Foundation, Inc.");
}
/* ARGSUSED */
@@ -2475,7 +2475,7 @@ show_commands (args, from_tty)
than the number of the last command). Relative to history_base. */
int hist_len;
- extern struct _hist_entry *history_get PARAMS ((int));
+ extern HIST_ENTRY *history_get PARAMS ((int));
extern int history_base;
/* Print out some of the commands from the command history. */