summaryrefslogtreecommitdiff
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
commit9f096c6421ed03bc720c090d6eecc9f7de8fe3b0 (patch)
tree08217865fabba32b6e4f0a06088a816d61713928 /gdb/top.c
parente99b7264c5f39b212d766449c02d589d9cdb2256 (diff)
downloadgdb-9f096c6421ed03bc720c090d6eecc9f7de8fe3b0.tar.gz
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 4203f08b616..10afc64037f 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. */