/* agxbmore;
* Expand buffer to hold at least ssz more bytes.
*/
-int agxbmore(agxbuf * xb, unsigned int ssz)
+void agxbmore(agxbuf * xb, unsigned int ssz)
{
int cnt; /* current no. of characters in buffer */
int size; /* current buffer size */
xb->buf = nbuf;
xb->ptr = xb->buf + cnt;
xb->eptr = xb->buf + nsize;
- return 0;
}
/* agxbput_n:
/* agxbmore:
* Expand buffer to hold at least ssz more bytes.
*/
- extern int agxbmore(agxbuf * xb, int unsigned ssz);
+ extern void agxbmore(agxbuf * xb, int unsigned ssz);
/* agxbputc:
* Add character to buffer.