diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-14 15:43:48 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-14 15:43:48 +0000 |
commit | b1be39511668ba28a7508c470b4c6c1283bd3b4f (patch) | |
tree | d103174de969d7b1b99ae3e1307ebc65412365c6 /gdb/p-exp.y | |
parent | fbc5c4d1360aac0959fbb6627cf4c32647773047 (diff) | |
download | gdb-b1be39511668ba28a7508c470b4c6c1283bd3b4f.tar.gz |
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.
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index ec656d0932e..e0dba8f1589 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -1120,7 +1120,7 @@ static int last_was_structop; /* Read one token, getting characters through lexptr. */ static int -yylex () +yylex (void) { int c; int namelen; |