openbsd-ports/math/sc/patches/patch-xmalloc_c

17 lines
334 B
Plaintext

$OpenBSD: patch-xmalloc_c,v 1.1 2011/06/26 09:48:50 sthen Exp $
--- xmalloc.c.orig Fri Apr 26 00:37:58 2002
+++ xmalloc.c Sat Jun 25 23:47:42 2011
@@ -4,11 +4,9 @@
*/
#include <curses.h>
+#include <stdlib.h>
#include "sc.h"
-extern char *malloc();
-extern char *realloc();
-extern void free();
void fatal();
#ifdef SYSV3