summaryrefslogtreecommitdiff
path: root/usr.bin/m4/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/m4/misc.c')
-rw-r--r--usr.bin/m4/misc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c
index 67dc778865b..2c321882298 100644
--- a/usr.bin/m4/misc.c
+++ b/usr.bin/m4/misc.c
@@ -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 @@ char *endest; /* end of string space */
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 @@ initspaces()
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 @@ enlarge_strspace()
void
enlarge_bufspace()
{
- unsigned char *newbuf;
+ char *newbuf;
int i;
bufsize += bufsize/2;
@@ -418,7 +418,7 @@ buffer_mark()
void
dump_buffer(FILE *f, size_t m)
{
- unsigned char *s;
+ char *s;
for (s = bp; s-buf > m;)
fputc(*--s, f);