From: Andrew Cagney Date: Wed, 18 Sep 2002 22:44:31 +0000 (+0000) Subject: 2002-09-18 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813;p=binutils-gdb.git 2002-09-18 Andrew Cagney * infrun.c (signal_stop_update): Convert definition to ISO C. (signal_print_update): Ditto. (signal_pass_update): Ditto. * inflow.c (terminal_save_ours): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ed7da9d623..0dfd5f47736 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2002-09-18 Andrew Cagney + * infrun.c (signal_stop_update): Convert definition to ISO C. + (signal_print_update): Ditto. + (signal_pass_update): Ditto. + * inflow.c (terminal_save_ours): Ditto. + * h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++ comments. diff --git a/gdb/inflow.c b/gdb/inflow.c index b37fc541c91..d286b5e36dc 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -205,7 +205,7 @@ terminal_init_inferior_with_pgrp (int pgrp) and gdb must be able to restore it correctly. */ void -terminal_save_ours () +terminal_save_ours (void) { if (gdb_has_a_terminal ()) { diff --git a/gdb/infrun.c b/gdb/infrun.c index b6c23425459..0f0c96b62ec 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3531,9 +3531,7 @@ signal_pass_state (int signo) } int -signal_stop_update (signo, state) - int signo; - int state; +signal_stop_update (int signo, int state) { int ret = signal_stop[signo]; signal_stop[signo] = state; @@ -3541,9 +3539,7 @@ signal_stop_update (signo, state) } int -signal_print_update (signo, state) - int signo; - int state; +signal_print_update (int signo, int state) { int ret = signal_print[signo]; signal_print[signo] = state; @@ -3551,9 +3547,7 @@ signal_print_update (signo, state) } int -signal_pass_update (signo, state) - int signo; - int state; +signal_pass_update (int signo, int state) { int ret = signal_program[signo]; signal_program[signo] = state;