From: serassio <> Date: Thu, 6 Jan 2005 17:55:34 +0000 (+0000) Subject: MSVC fixup: X-Git-Tag: SQUID_3_0_PRE4~915 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90a9dd4d18b2b16e57e427205876900ddf0ceef4;p=thirdparty%2Fsquid.git MSVC fixup: Allow build of GNUregex lib with MS Visual Studio 2005 --- diff --git a/lib/GNUregex.c b/lib/GNUregex.c index e1f170ddeb..f6a53e2e10 100644 --- a/lib/GNUregex.c +++ b/lib/GNUregex.c @@ -1,5 +1,5 @@ /* - * $Id: GNUregex.c,v 1.19 2004/12/20 16:30:30 robertc Exp $ + * $Id: GNUregex.c,v 1.20 2005/01/06 10:55:34 serassio Exp $ */ /* Extended regular expression matching and search library, @@ -4355,11 +4355,7 @@ regexec(preg, string, nmatch, pmatch, eflags) * from either regcomp or regexec. We don't use PREG here. */ size_t -regerror(errcode, preg, errbuf, errbuf_size) - int errcode; - const regex_t *preg; - char *errbuf; - size_t errbuf_size; +regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) { const char *msg; size_t msg_size;