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.
and gdb must be able to restore it correctly. */
void
-terminal_save_ours ()
+terminal_save_ours (void)
{
if (gdb_has_a_terminal ())
{
}
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;
}
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;
}
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;