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:
parent
ae87c53394
commit
fef9452ba3
@ -74,8 +74,8 @@ register char *s1, *s2;
|
||||
while ( (*s1++ = *s2++) != '\0');
|
||||
}
|
||||
|
||||
addbuf (c)
|
||||
register char c;
|
||||
int addbuf (c)
|
||||
register int c;
|
||||
|
||||
{
|
||||
buffnum++;
|
||||
@ -85,6 +85,7 @@ register char c;
|
||||
buffnum = 0;
|
||||
}
|
||||
outbuff[buffnum] = c;
|
||||
return (0);
|
||||
}
|
||||
|
||||
buflush () {
|
||||
|
Loading…
Reference in New Issue
Block a user