errcode is a type. using it as parameter name in a old type function declaration doesn't work.

Use modern style declaration

svn path=/trunk/; revision=38039
This commit is contained in:
Timo Kreuzer 2008-12-13 01:05:46 +00:00
parent 0c36e47417
commit 0dc6254f67

View file

@ -5790,11 +5790,7 @@ weak_alias (__regexec, regexec)
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;