summaryrefslogtreecommitdiff
path: root/MSVC
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC')
-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