aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-07-11 13:50:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-07-11 13:50:50 +0000
commit5ae5f592883d573d830841e3ee19d8ee37c3e9d8 (patch)
tree561059d96b9e16c476a18f2b42a47188e7f1363f /gdb/top.c
parent239e1f3afa2f6bc24acde3b81481f933b40a3531 (diff)
downloadgdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.zip
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.gz
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.bz2
Fix some K&R isms.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 4203f08..10afc64 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1037,7 +1037,7 @@ static int operate_saved_history = -1;
/* This is put on the appropriate hook and helps operate-and-get-next
do its work. */
void
-gdb_rl_operate_and_get_next_completion ()
+gdb_rl_operate_and_get_next_completion (void)
{
int delta = where_history () - operate_saved_history;
/* The `key' argument to rl_get_previous_history is ignored. */