aboutsummaryrefslogtreecommitdiff
path: root/games/hack
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 21:09:17 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 21:09:17 +0000
commit29f700bbe6e01938fad6ef881a5a666090f13eea (patch)
tree0fa4dcfe374738c7dcc73bf45eb4f02202a4d114 /games/hack
parent56eb7842b4812a8e68ba6c392e0c77f2135ac77b (diff)
downloadsrc-29f700bbe6e01938fad6ef881a5a666090f13eea.tar.gz
src-29f700bbe6e01938fad6ef881a5a666090f13eea.zip
Use include for malloc declaration
Notes
Notes: svn path=/head/; revision=29822
Diffstat (limited to 'games/hack')
-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 d94bf8b903b8..0e46ebce689f 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;