From: Per Bothner Date: Sun, 16 Jan 1994 03:35:19 +0000 (+0000) Subject: * main.c (show_commands): Make return type of extern X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b564df836ca7baffe636c1a16658cdcb6388080;p=binutils-gdb.git * 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.) --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 967ed7b89a9..0869d0d7fd4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * 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.) + Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring diff --git a/gdb/main.c b/gdb/main.c index c5cfa38dd98..1dafb9f03b7 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. */