2002-09-18 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 22:44:31 +0000 (22:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 22:44:31 +0000 (22:44 +0000)
* 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
gdb/inflow.c
gdb/infrun.c

index 7ed7da9d623272fe5e80a82f5c328f995e559dbe..0dfd5f47736c12cbad136d16bdedf51136c0ccf0 100644 (file)
@@ -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.
        
index b37fc541c9181deb089546079684a2b6c3e2c6db..d286b5e36dc662072623ac52ae23f2ee7ce07c0b 100644 (file)
@@ -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 ())
     {
index b6c23425459fbb852a85c94f892ba3dd04216fc1..0f0c96b62ecf8ef54aea86846f7d62868274d3fe 100644 (file)
@@ -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;