I substituted all outc() calls with calls to putchar().
}
-static int
-outc(int c)
-{
- return putchar(c);
-}
-
-
void
clear_screen(void)
{
read_termcap();
if (CL && speedcode)
- tputs(CL, LI, outc);
+ tputs(CL, LI, putchar);
else {
printf("\f");
if (speedcode)
if (!(SO && SE))
return NOTOK;
- tputs(SO, 1, outc);
+ tputs(SO, 1, putchar);
va_start(ap, fmt);
vprintf(fmt, ap);
va_end(ap);
- tputs(SE, 1, outc);
+ tputs(SE, 1, putchar);
return OK;
}