aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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;