summaryrefslogtreecommitdiffstats
path: root/games/hack/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/alloc.c')
-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