summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-09 09:21:28 +0000
committerjb <jb@FreeBSD.org>1998-05-09 09:21:28 +0000
commit6ebc5834dcc11a793e928396e6477c4e3c8000bb (patch)
tree3c4566a3ba59e19058d618f67013daac05f06c38 /games
parent93326f26e1c7a6e82d20640641df151135ec15df (diff)
downloadFreeBSD-src-6ebc5834dcc11a793e928396e6477c4e3c8000bb.zip
FreeBSD-src-6ebc5834dcc11a793e928396e6477c4e3c8000bb.tar.gz
Add #include string.h, stdlib.h and termcap.h to get prototypes.
Change prototype for addbuf to make it compatible with tputs now that there is a prototype to check it against.
Diffstat (limited to 'games')
-rw-r--r--games/backgammon/common_source/fancy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/backgammon/common_source/fancy.c b/games/backgammon/common_source/fancy.c
index ec9173f..783a294 100644
--- a/games/backgammon/common_source/fancy.c
+++ b/games/backgammon/common_source/fancy.c
@@ -35,6 +35,9 @@
static char sccsid[] = "@(#)fancy.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
+#include <stdlib.h>
+#include <string.h>
+#include <termcap.h>
#include "back.h"
char PC; /* padding character */
@@ -78,7 +81,7 @@ int oldw;
int realr;
int realc;
-void addbuf();
+int addbuf __P((int));
fboard () {
register int i, j, l;
OpenPOWER on IntegriCloud