summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/regex/regex.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/compat/regex/regex.c b/compat/regex/regex.c
index 5ea007567d..67d5c370a0 100644
--- a/compat/regex/regex.c
+++ b/compat/regex/regex.c
@@ -4852,11 +4852,8 @@ 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;