evil: let's try a more modern declaration.
authorCedric Bail <cedric.bail@samsung.com>
Wed, 6 Nov 2013 02:11:55 +0000 (11:11 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Wed, 6 Nov 2013 02:11:55 +0000 (11:11 +0900)
src/lib/evil/regex/regerror.c

index 5181b80..ae46a43 100644 (file)
@@ -61,11 +61,7 @@ static struct rerr {
  */
 /* ARGSUSED */
 EAPI 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;