summaryrefslogtreecommitdiff
path: root/games/worms/worms.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/worms/worms.c')
-rw-r--r--games/worms/worms.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index 0e7803613971..f3b88940d618 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -67,6 +67,8 @@ static char sccsid[] = "@(#)worms.c 5.9 (Berkeley) 2/28/91";
#endif
#include <signal.h>
+extern char *malloc(), *getenv(), *tgetstr(), *tgoto();
+
static struct options {
int nopts;
int opts[3];
@@ -195,7 +197,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;