aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/linespec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9599737..9857be4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-06 Pierre Muller <muller@sourceware.org>
+
+ * linespec.c (get_current_search_block): ARI fix, use (void)
+ for empty parameter list.
+
2013-03-05 Doug Evans <dje@google.com>
* ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
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;