From: Pierre Muller Date: Wed, 6 Mar 2013 11:05:55 +0000 (+0000) Subject: * linespec.c (get_current_search_block): ARI fix, use (void) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e482a1a7707fcc78eda1fd619f9141df0c9e5b74;p=binutils-gdb.git * linespec.c (get_current_search_block): ARI fix, use (void) for empty parameter list. --- 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;