24 lines
653 B
Plaintext
24 lines
653 B
Plaintext
$OpenBSD: patch-utils_c,v 1.1 2011/07/08 11:19:35 jasper Exp $
|
|
--- utils.c.orig Wed Sep 9 16:31:16 1992
|
|
+++ utils.c Fri Jul 8 13:17:27 2011
|
|
@@ -25,8 +25,10 @@ Please read the file COPYRIGHT for further details.
|
|
#else
|
|
#include <sys/resource.h>
|
|
#endif
|
|
+#include <unistd.h>
|
|
#include "globals.h"
|
|
|
|
+extern void initialize_siglist A((void)) ;
|
|
|
|
/* Signal handler, print message and exit */
|
|
SIG_HANDLER_RET exitsig(sig)
|
|
@@ -70,7 +72,7 @@ char *s ;
|
|
|
|
/* set up signal handling. All except TSTP, CONT, CLD, and QUIT
|
|
* are caught with exitsig(). */
|
|
-init_signals()
|
|
+void init_signals()
|
|
{
|
|
int i ;
|
|
#ifdef SIG_SETMASK /* only with BSD signals */
|