Fix __stdcall placement and function prototype
[gitweb.git] / run-command.c
index 02aaedfb8ca21d5fa706753937d5a1f7a7452038..bb76750cd063a05483856f1f744f79c04ed80352 100644 (file)
@@ -316,7 +316,7 @@ int run_command_v_opt_cd_env(const char **argv, int opt, const char *dir, const
 }
 
 #ifdef __MINGW32__
-static __stdcall unsigned run_thread(void *data)
+static unsigned __stdcall run_thread(void *data)
 {
        struct async *async = data;
        return async->proc(async->fd_for_proc, async->data);