=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/misc.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- src/usr.bin/m4/misc.c 2008/08/16 12:21:46 1.38 +++ src/usr.bin/m4/misc.c 2008/08/16 12:23:50 1.39 @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.38 2008/08/16 12:21:46 espie Exp $ */ +/* $OpenBSD: misc.c,v 1.39 2008/08/16 12:23:50 espie Exp $ */ /* $NetBSD: misc.c,v 1.6 1995/09/28 05:37:41 tls Exp $ */ /* @@ -54,11 +54,11 @@ static size_t strsize = STRSPMAX; static size_t bufsize = BUFSIZE; -unsigned char *buf; /* push-back buffer */ -unsigned char *bufbase; /* the base for current ilevel */ -unsigned char *bbase[MAXINP]; /* the base for each ilevel */ -unsigned char *bp; /* first available character */ -unsigned char *endpbb; /* end of push-back buffer */ +char *buf; /* push-back buffer */ +char *bufbase; /* the base for current ilevel */ +char *bbase[MAXINP]; /* the base for each ilevel */ +char *bp; /* first available character */ +char *endpbb; /* end of push-back buffer */ /* @@ -163,7 +163,7 @@ strspace = xalloc(strsize+1, NULL); ep = strspace; endest = strspace+strsize; - buf = (unsigned char *)xalloc(bufsize, NULL); + buf = (char *)xalloc(bufsize, NULL); bufbase = buf; bp = buf; endpbb = buf + bufsize; @@ -195,7 +195,7 @@ void enlarge_bufspace() { - unsigned char *newbuf; + char *newbuf; int i; bufsize += bufsize/2; @@ -418,7 +418,7 @@ void dump_buffer(FILE *f, size_t m) { - unsigned char *s; + char *s; for (s = bp; s-buf > m;) fputc(*--s, f);