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
This commit is contained in:
Olivier Refalo
2012-05-09 12:35:02 -03:00
committed by Johannes Schindelin
parent fce52b4ab1
commit 97c2c0d857

View File

@@ -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)