aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
commitd02c80cdf4c8426e911e897c4c6a9aa950354b1b (patch)
tree6e0f5a6804dd11cb105e43a6a7aca6e580ed35d9 /gdb/tui/tui.c
parent2004-02-07 Andrew Cagney <cagney@redhat.com> (diff)
downloadbinutils-gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.gz
binutils-gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.bz2
binutils-gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.zip
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Include "gdb_string.h", delete register attribute, use ISO-C function signatures. * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto. * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto. * tui/tui.c: Ditto.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r--gdb/tui/tui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index a29cf11ad7f..c05c8f93246 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -283,7 +283,7 @@ tui_rl_next_keymap (int notused1, int notused2)
the command window is cleaner. It will be displayed if
we temporarily leave the SingleKey mode. */
static int
-tui_rl_startup_hook ()
+tui_rl_startup_hook (void)
{
rl_already_prompted = 1;
if (tui_current_key_mode != TUI_COMMAND_MODE)
@@ -305,7 +305,7 @@ tui_set_key_mode (enum tui_key_mode mode)
/* Initialize readline and configure the keymap for the switching
key shortcut. */
void
-tui_initialize_readline ()
+tui_initialize_readline (void)
{
int i;
Keymap tui_ctlx_keymap;