=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/misc.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/m4/misc.c 2001/09/18 15:46:39 1.23 --- src/usr.bin/m4/misc.c 2001/09/19 13:14:18 1.24 *************** *** 1,4 **** ! /* $OpenBSD: misc.c,v 1.23 2001/09/18 15:46:39 espie Exp $ */ /* $NetBSD: misc.c,v 1.6 1995/09/28 05:37:41 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: misc.c,v 1.24 2001/09/19 13:14:18 espie Exp $ */ /* $NetBSD: misc.c,v 1.6 1995/09/28 05:37:41 tls Exp $ */ /* *************** *** 41,47 **** #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: misc.c,v 1.23 2001/09/18 15:46:39 espie Exp $"; #endif #endif /* not lint */ --- 41,47 ---- #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: misc.c,v 1.24 2001/09/19 13:14:18 espie Exp $"; #endif #endif /* not lint */ *************** *** 61,67 **** char *ep; /* first free char in strspace */ static char *strspace; /* string space for evaluation */ ! static char *endest; /* end of string space */ static size_t strsize = STRSPMAX; static size_t bufsize = BUFSIZE; --- 61,67 ---- char *ep; /* first free char in strspace */ static char *strspace; /* string space for evaluation */ ! char *endest; /* end of string space */ static size_t strsize = STRSPMAX; static size_t bufsize = BUFSIZE; *************** *** 69,79 **** char *bufbase; /* the base for current ilevel */ char *bbase[MAXINP]; /* the base for each ilevel */ char *bp; /* first available character */ ! static char *endpbb; /* end of push-back buffer */ - static void enlarge_bufspace __P((void)); - static void enlarge_strspace __P((void)); /* * find the index of second str in the first str. */ --- 69,77 ---- 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 */ /* * find the index of second str in the first str. */ *************** *** 170,176 **** bbase[i] = buf; } ! static void enlarge_strspace() { char *newstrspace; --- 168,174 ---- bbase[i] = buf; } ! void enlarge_strspace() { char *newstrspace; *************** *** 191,197 **** endest = strspace + strsize; } ! static void enlarge_bufspace() { char *newbuf; --- 189,195 ---- endest = strspace + strsize; } ! void enlarge_bufspace() { char *newbuf;