Browse files

fix build: compat/mingw.c:1236: error: conflicting types for 'mingw_e…


compat/../compat/mingw.h:294: note: previous declaration of 'mingw_execv' was here
make: *** [compat/mingw.o] Error 1
  • Loading branch information...
1 parent 72f0944 commit cf4d77f2c1b78148ac82c27b079e120e168e5d9d @orefalo orefalo committed May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compat/mingw.h
2 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)

0 comments on commit cf4d77f

Please sign in to comment.