a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/xp.c src/lib/xp.c index cb6eb96..50803cb 100644 --- src/lib/xp.c +++ src/lib/xp.c @@ -1,31 +1,30 @@ /* xp - A minimal non-verifying xml parser. It's * stream oriented much like expas. It's a bit faster * and smaller than expas. I'm not sure it handles unicode * as well. * * This file is copyright 2002-2005 Jim Kent, but license is hereby * granted for all use - public, private or commercial. */ #include "common.h" #include "dystring.h" #include "errabort.h" #include "hash.h" #include "xp.h" #include "xmlEscape.h" -static char const rcsid[] = "$Id: xp.c,v 1.15 2005/12/19 17:51:14 kent Exp $"; char xpNextBuf(struct xp *xp) /* Fetch a new buffer and return first char. Return 0 at EOF. */ { int size = xp->read(xp->userData, xp->inBuf, sizeof(xp->inBuf)); if (size <= 0) return 0; xp->inBufEnd = xp->inBuf + size; xp->in = xp->inBuf+1; return xp->inBuf[0]; } #define xpGetChar(xp) \ (xp->in < xp->inBufEnd ? *xp->in++ : xpNextBuf(xp))