summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-04-25 16:53:47 -0500
committerreggie@mdk10.(none) <>2005-04-25 16:53:47 -0500
commita22ec942ac0c594ebfa9d650333d05afad6f194a (patch)
tree580842ef55e195c669171ffceed63482f7f0d5a4 /regex
parent83978acd5a8f5311fcbd04780fabeae1a6a2015d (diff)
downloadmariadb-git-a22ec942ac0c594ebfa9d650333d05afad6f194a.tar.gz
regerror.c:
Changed function signature to fix compile errors with Whidbey
Diffstat (limited to 'regex')
-rw-r--r--regex/regerror.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/regex/regerror.c b/regex/regerror.c
index 0a7b7c8da2c..9caa5b95a4c 100644
--- a/regex/regerror.c
+++ b/regex/regerror.c
@@ -56,11 +56,7 @@ static struct rerr {
*/
/* ARGSUSED */
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)
{
register struct rerr *r;
register size_t len;