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.
This commit is contained in:
John Birrell 1998-05-09 09:21:28 +00:00
parent ff73510252
commit ae87c53394
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35866

View File

@ -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;