$OpenBSD: patch-xmalloc_c,v 1.2 2017/05/12 20:27:25 naddy Exp $

Index: xmalloc.c
--- xmalloc.c.orig
+++ xmalloc.c
@@ -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
