summaryrefslogtreecommitdiff
path: root/games/spider/patches/patch-globals_h
blob: 060adec3a05efd41aaa21dbdc4c3fb61b53e09a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-globals_h,v 1.1 2012/06/18 04:19:09 dholland Exp $

- use standard headers
- don't provide own malloc declarations

--- globals.h~	1991-09-28 17:46:20.000000000 +0000
+++ globals.h
@@ -10,6 +10,8 @@
  *
  */
 
+#include <stdlib.h>
+
 /*
  * spider global variables
  */
@@ -95,7 +97,3 @@ void	do_expand();
 #ifdef XAW
 Bool	can_get_help_files();
 #endif
-
-extern char	*malloc();
-extern char	*calloc();
-extern char	*realloc();