From eeae04df5210d8d569775a1088c084c1a9509545 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 14 Mar 2011 15:43:51 +0000 Subject: Fix ARI warning about functions without parameters that do not use (void). * breakpoint.c (all_tracepoints): Replace () by (void). * f-exp.y (match_string_literal): Ditto. (yylex): Ditto. * m2-exp.y (yylex): Ditto. * mep-tdep.c (current_me_module): Ditto. (current_options): Ditto. (current_cop_data_bus_width): Ditto. (current_cr_names): Ditto. (current_cr_is_float): Ditto. (current_ccr_names): Ditto. * objc-exp.y (yylex): Ditto. * p-exp.y (yylex): Ditto. * remote.c (send_interrupt_sequence): Ditto. * tracepoint.c (current_trace_status): Ditto. * python/py-evts.c (gdbpy_initialize_py_events): Ditto. * python/py-prettyprint.c (push_dummy_python_frame): Ditto. --- gdb/f-exp.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/f-exp.y') diff --git a/gdb/f-exp.y b/gdb/f-exp.y index 02745c8..7cd6ae1 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -919,7 +919,7 @@ growbuf_by_size (count) a string, it is simply doubled (I.E. 'this''is''one''string') */ static int -match_string_literal () +match_string_literal (void) { char *tokptr = lexptr; @@ -951,7 +951,7 @@ match_string_literal () /* Read one token, getting characters through lexptr. */ static int -yylex () +yylex (void) { int c; int namelen; -- cgit v1.1