diff options
author | mycroft <mycroft@NetBSD.org> | 1993-04-18 21:52:18 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1993-04-18 21:52:18 +0000 |
commit | 9b85680687e77d758ed4d5f002375aa6f88dc803 (patch) | |
tree | c56ea44ec5afb5b70ac6ca16fafdc70a663e3a79 /worms | |
parent | d244d8703e3d0edbd492dca367d74db166e8a687 (diff) | |
download | bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.gz bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.zst bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.zip |
Cleanup for GCC 2.
Diffstat (limited to 'worms')
-rw-r--r-- | worms/worms.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/worms/worms.c b/worms/worms.c index 0e780361..370c2e0e 100644 --- a/worms/worms.c +++ b/worms/worms.c @@ -60,6 +60,7 @@ static char sccsid[] = "@(#)worms.c 5.9 (Berkeley) 2/28/91"; */ #include <sys/types.h> #include <stdio.h> +#include <stdlib.h> #ifdef USG #include <termio.h> #else @@ -179,6 +180,8 @@ static struct worm { short *xpos, *ypos; } *worm; +char *tgetstr(), *tgoto(); + main(argc, argv) int argc; char **argv; @@ -195,7 +198,7 @@ main(argc, argv) void onsig(); short **ref; char *AL, *BC, *CM, *EI, *HO, *IC, *IM, *IP, *SR; - char *field, tcb[100], *mp, *malloc(), *getenv(), *tgetstr(), *tgoto(); + char *field, tcb[100], *mp; long random(); #ifdef USG struct termio sg; |