From 7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 18 Sep 2002 22:44:31 +0000 Subject: 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. --- gdb/ChangeLog | 5 +++++ gdb/inflow.c | 2 +- gdb/infrun.c | 12 +++--------- 3 files changed, 9 insertions(+), 10 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ed7da9..0dfd5f4 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 b37fc54..d286b5e 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 b6c2342..0f0c96b 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; -- cgit v1.1