From e482a1a7707fcc78eda1fd619f9141df0c9e5b74 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Wed, 6 Mar 2013 11:05:55 +0000 Subject: [PATCH] * linespec.c (get_current_search_block): ARI fix, use (void) for empty parameter list. --- gdb/ChangeLog | 5 +++++ gdb/linespec.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 95997373329..9857be4dbb2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-03-06 Pierre Muller + + * linespec.c (get_current_search_block): ARI fix, use (void) + for empty parameter list. + 2013-03-05 Doug Evans * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents diff --git a/gdb/linespec.c b/gdb/linespec.c index b1c2b1c1665..b1395e8fd14 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1069,7 +1069,7 @@ iterate_over_all_matching_symtabs (struct linespec_state *state, the current location. */ static struct block * -get_current_search_block () +get_current_search_block (void) { struct block *block; enum language save_language; -- 2.30.2