summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 21:09:17 +0000
committerache <ache@FreeBSD.org>1997-09-24 21:09:17 +0000
commitb78f1ac8f70ca1f0efbe3550033c95ec667677c3 (patch)
treeeb32d877556be0188dca8088607fd144fd0e2297 /games
parentd7d1a88a74734936b18b446d25dccda2beff8248 (diff)
downloadFreeBSD-src-b78f1ac8f70ca1f0efbe3550033c95ec667677c3.zip
FreeBSD-src-b78f1ac8f70ca1f0efbe3550033c95ec667677c3.tar.gz
Use include for malloc declaration
Diffstat (limited to 'games')
-rw-r--r--games/hack/alloc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/hack/alloc.c b/games/hack/alloc.c
index d94bf8b..0e46ebc 100644
--- a/games/hack/alloc.c
+++ b/games/hack/alloc.c
@@ -1,4 +1,6 @@
/* alloc.c - version 1.0.2 */
+#include <stdlib.h>
+
#ifdef LINT
/*
@@ -18,9 +20,6 @@ long dummy = ftell(stderr);
#else
-extern char *malloc();
-extern char *realloc();
-
long *
alloc(lth)
register unsigned lth;
OpenPOWER on IntegriCloud