2018-04-28 16:25:36 +00:00

21 lines
530 B
Plaintext

$OpenBSD: patch-siglist_c,v 1.2 2018/04/28 16:25:36 jasper Exp $
Index: siglist.c
--- siglist.c.orig
+++ siglist.c
@@ -22,6 +22,7 @@ with Bash; see the file COPYING. If not, write to the
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include <signal.h>
#if !defined (NSIG)
@@ -39,7 +40,6 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#if !(defined(BSD) && (BSD >=199306))
char *sys_siglist[NSIG];
#endif
-extern *malloc ();
void initialize_siglist ()
{