From ae87c5339483211d7d75fac4806ee4d1d95e764d Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 9 May 1998 09:21:28 +0000 Subject: [PATCH] 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. --- games/backgammon/common_source/fancy.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games/backgammon/common_source/fancy.c b/games/backgammon/common_source/fancy.c index ec9173f0164..783a294cc6d 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 +#include +#include #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;