git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/11] Fix build failure at VC because function declare use old style at regex.c
@ 2009-08-17 16:01 Frank Li
  2009-08-17 16:01 ` [PATCH 02/11] Fix declare variable at mid of function Frank Li
  2009-08-17 16:26 ` [PATCH 01/11] Fix build failure at VC because function declare use old style at regex.c Johannes Schindelin
  0 siblings, 2 replies; 26+ messages in thread
From: Frank Li @ 2009-08-17 16:01 UTC (permalink / raw)
  To: git, msysgit; +Cc: Johannes.Schindelin, Frank Li

regerror declare function argument type after function define.

Signed-off-by: Frank Li <lznuaa@gmail.com>
---
 compat/regex/regex.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/compat/regex/regex.c b/compat/regex/regex.c
index 5ea0075..5728de1 100644
--- a/compat/regex/regex.c
+++ b/compat/regex/regex.c
@@ -4852,11 +4852,7 @@ regexec (preg, string, nmatch, pmatch, eflags)
    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;
-- 
1.6.4.msysgit.0

^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-08-19 15:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 16:01 [PATCH 01/11] Fix build failure at VC because function declare use old style at regex.c Frank Li
2009-08-17 16:01 ` [PATCH 02/11] Fix declare variable at mid of function Frank Li
2009-08-17 16:01   ` [PATCH 03/11] Define SNPRINTF_SIZE_CORR 1 when use MSVC build git Frank Li
2009-08-17 16:01     ` [PATCH 04/11] Add _MSC_VER predefine macro to make same behaviors with __MINGW32__ Enable MSVC build. MSVC have the save behaviors with msysgit Frank Li
2009-08-17 16:38       ` Johannes Schindelin
2009-08-18  1:29         ` Frank Li
2009-08-18  5:06           ` tom fogal
2009-08-17 16:32     ` [PATCH 03/11] Define SNPRINTF_SIZE_CORR 1 when use MSVC build git Johannes Schindelin
2009-08-18  1:19       ` Frank Li
2009-08-18  9:31         ` Johannes Schindelin
2009-08-17 16:29   ` [PATCH 02/11] Fix declare variable at mid of function Johannes Schindelin
2009-08-17 16:34     ` Reece Dunn
2009-08-17 19:36       ` Johannes Schindelin
2009-08-18  5:23         ` [msysGit] " Marius Storm-Olsen
2009-08-18  9:34           ` Johannes Schindelin
2009-08-18 16:11             ` Frank Li
2009-08-18 16:52               ` Matthieu Moy
2009-08-19 10:15               ` Johannes Schindelin
2009-08-19 10:55                 ` Johannes Sixt
2009-08-19 13:15                   ` Johannes Schindelin
2009-08-19 15:21                     ` [msysGit] " Johannes Sixt
2009-08-17 19:28     ` Junio C Hamano
2009-08-17 21:00       ` [msysGit] " Johannes Schindelin
2009-08-17 21:38         ` Junio C Hamano
2009-08-17 16:26 ` [PATCH 01/11] Fix build failure at VC because function declare use old style at regex.c Johannes Schindelin
2009-08-18 15:03   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).