summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-21 08:30:09 +0000
committerpixel <pixel>2004-12-21 08:30:09 +0000
commit713344c7acc276be11261b8584ac176905d9278b (patch)
tree79d7b78a673f3159ab7f5b62130575d477d33730
parent101fb04fff227b0ffe6ebf1a0783a70972fcd05c (diff)
Upgrading to MS Visual Studio 2005
-rw-r--r--MSVC/regex/msvc-regex.c (renamed from MSVC/regex/regex.c)8
1 files changed, 1 insertions, 7 deletions
diff --git a/MSVC/regex/regex.c b/MSVC/regex/msvc-regex.c
index d5415ce..2454a36 100644
--- a/MSVC/regex/regex.c
+++ b/MSVC/regex/msvc-regex.c
@@ -4877,12 +4877,7 @@ regexec (preg, string, nmatch, pmatch, eflags)
/* Returns a message corresponding to an error code, ERRCODE, returned
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;
+size_t regerror (int errcode, const regex_t * preg, char * errbuf, size_t errbuf_size)
{
const char *msg;
size_t msg_size;
@@ -4918,7 +4913,6 @@ regerror (errcode, preg, errbuf, errbuf_size)
return msg_size;
}
-
/* Free dynamically allocated space used by PREG. */
void