Re: [PATCH 05/14] Change regerror() declaration from K&R style to ANSI C (C89)

From: Marius Storm-Olsen <hidden>
Date: 2016-06-15 22:47:17

From: Frank Li <redacted>
 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)
 {

The true reason is MSVC type define errcode as int.
Ok, will reword it.. Thanks.

--
.marius @ phone
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help