Skip to content
This repository
Browse code

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

…xecv'

compat/../compat/mingw.h:294: note: previous declaration of 'mingw_execv' was here
make: *** [compat/mingw.o] Error 1
  • Loading branch information...
commit cf4d77f2c1b78148ac82c27b079e120e168e5d9d 1 parent 72f0944
Olivier Refalo authored May 09, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  compat/mingw.h
2  compat/mingw.h
@@ -291,7 +291,7 @@ pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env,
291 291
 		     int fhin, int fhout, int fherr);
292 292
 int mingw_execvp(const char *cmd, char *const *argv);
293 293
 #define execvp mingw_execvp
294  
-int mingw_execv(const char *cmd, char *const *argv);
  294
+void mingw_execv(const char *cmd, char *const *argv);
295 295
 #define execv mingw_execv
296 296
 
297 297
 static inline unsigned int git_ntohl(unsigned int x)

0 notes on commit cf4d77f

Please sign in to comment.
Something went wrong with that request. Please try again.