aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2013-03-06 11:05:55 +0000
committerPierre Muller <muller@sourceware.org>2013-03-06 11:05:55 +0000
commite482a1a7707fcc78eda1fd619f9141df0c9e5b74 (patch)
tree4c3c292bb6065e9990e41247053d68c105f113a3 /gdb/linespec.c
parent4aa54120ee82d137adccda957768fbf3ee8360f7 (diff)
downloadgdb-e482a1a7707fcc78eda1fd619f9141df0c9e5b74.zip
gdb-e482a1a7707fcc78eda1fd619f9141df0c9e5b74.tar.gz
gdb-e482a1a7707fcc78eda1fd619f9141df0c9e5b74.tar.bz2
* linespec.c (get_current_search_block): ARI fix, use (void)
for empty parameter list.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index b1c2b1c..b1395e8 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;