diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-09-24 21:09:17 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-09-24 21:09:17 +0000 |
commit | 29f700bbe6e01938fad6ef881a5a666090f13eea (patch) | |
tree | 0fa4dcfe374738c7dcc73bf45eb4f02202a4d114 /games/hack | |
parent | 56eb7842b4812a8e68ba6c392e0c77f2135ac77b (diff) | |
download | src-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.c | 5 |
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; |