diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-18 22:44:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-18 22:44:31 +0000 |
commit | 7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813 (patch) | |
tree | 7f9e48602aea11a2fd65bc93799d25f4102c5b8d /gdb | |
parent | 5247b4187f67dfead2ed981f7dc13a74e8a216e0 (diff) | |
download | gdb-7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813.zip gdb-7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813.tar.gz gdb-7bda5e4ae2bdb120b4f4c6e7a4fa18b84f108813.tar.bz2 |
2002-09-18 Andrew Cagney <ac131313@redhat.com>
* infrun.c (signal_stop_update): Convert definition to ISO C.
(signal_print_update): Ditto.
(signal_pass_update): Ditto.
* inflow.c (terminal_save_ours): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/inflow.c | 2 | ||||
-rw-r--r-- | gdb/infrun.c | 12 |
3 files changed, 9 insertions, 10 deletions
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 <ac131313@redhat.com> + * 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; |