From: Andreas Schwab Date: Tue, 25 Nov 1997 13:38:04 +0000 (+0000) Subject: Add prototypes. X-Git-Tag: emacs-20.3~2725 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35a05ccae646f5207003f53a61ab1f0217853e95;p=emacs.git Add prototypes. (save_signal_handlers): Make static. (restore_signal_handlers): Likewise. --- diff --git a/src/sysdep.c b/src/sysdep.c index 48d4824e7f0..4349a75dcc0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -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; {