From 6cd0c5d1b3b8e393bf11f87109417d2684811f29 Mon Sep 17 00:00:00 2001 From: Olivier Refalo Date: Wed, 9 May 2012 12:35:02 -0300 Subject: [PATCH] fix build: compat/mingw.c:1236: error: conflicting types for 'mingw_execv' compat/../compat/mingw.h:294: note: previous declaration of 'mingw_execv' was here make: *** [compat/mingw.o] Error 1 --- compat/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/mingw.h b/compat/mingw.h index 8c46a5c76b..4b80acafc8 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -291,7 +291,7 @@ pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env, int fhin, int fhout, int fherr); int mingw_execvp(const char *cmd, char *const *argv); #define execvp mingw_execvp -int mingw_execv(const char *cmd, char *const *argv); +void mingw_execv(const char *cmd, char *const *argv); #define execv mingw_execv static inline unsigned int git_ntohl(unsigned int x) -- 2.11.4.GIT