Add prototypes.
authorAndreas Schwab <schwab@suse.de>
Tue, 25 Nov 1997 13:38:04 +0000 (13:38 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 25 Nov 1997 13:38:04 +0000 (13:38 +0000)
(save_signal_handlers): Make static.
(restore_signal_handlers): Likewise.

src/sysdep.c

index 48d4824..4349a75 100644 (file)
@@ -637,9 +637,12 @@ child_setup_tty (out)
 struct save_signal
 {
   int code;
-  SIGTYPE (*handler) ();
+  SIGTYPE (*handler) P_ ((int));
 };
 
+static void save_signal_handlers P_ ((struct save_signal *));
+static void restore_signal_handlers P_ ((struct save_signal *));
+
 /* Suspend the Emacs process; give terminal to its superior.  */
 
 sys_suspend ()
@@ -831,17 +834,19 @@ sys_subshell ()
 #endif /* !VMS */
 }
 
+static void
 save_signal_handlers (saved_handlers)
      struct save_signal *saved_handlers;
 {
   while (saved_handlers->code)
     {
       saved_handlers->handler
-       = (SIGTYPE (*) ()) signal (saved_handlers->code, SIG_IGN);
+       = (SIGTYPE (*) P_ ((int))) signal (saved_handlers->code, SIG_IGN);
       saved_handlers++;
     }
 }
 
+static void
 restore_signal_handlers (saved_handlers)
      struct save_signal *saved_handlers;
 {