summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorunknown <reggie@linux.site>2005-07-14 03:49:54 -0600
committerunknown <reggie@linux.site>2005-07-14 03:49:54 -0600
commitb0d97b2c1fb33c216ce14c663394e59d4eccadfc (patch)
treec38705088ebae875327a665bcbbc9aa10c18b2cc /regex
parente064ca31d9c6d101d3b20605598da3bc66683536 (diff)
downloadmariadb-git-b0d97b2c1fb33c216ce14c663394e59d4eccadfc.tar.gz
fixed function sig so it will compile with Visual C++ 8
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;