aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-14 15:43:51 +0000
committerPierre Muller <muller@sourceware.org>2011-03-14 15:43:51 +0000
commiteeae04df5210d8d569775a1088c084c1a9509545 (patch)
tree19eab4b77c8ccb787fe7a793e28e38e94700da68 /gdb/remote.c
parentfd7a005d9d5ed10fbc5094a1e19684141bf9d569 (diff)
downloadgdb-eeae04df5210d8d569775a1088c084c1a9509545.zip
gdb-eeae04df5210d8d569775a1088c084c1a9509545.tar.gz
gdb-eeae04df5210d8d569775a1088c084c1a9509545.tar.bz2
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/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 3034e61..ad473cc 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -3112,7 +3112,7 @@ struct start_remote_args
/* Send interrupt_sequence to remote target. */
static void
-send_interrupt_sequence ()
+send_interrupt_sequence (void)
{
if (interrupt_sequence_mode == interrupt_sequence_control_c)
serial_write (remote_desc, "\x03", 1);