diff --git a/compat/mingw.c b/compat/mingw.c index fe3cae3a38..f86800680c 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1833,7 +1833,7 @@ pid_t waitpid(pid_t pid, int *status, int options) return -1; } -const char *get_windows_home_directory() +const char *get_windows_home_directory(void) { static const char *home_directory = NULL; struct strbuf buf = STRBUF_INIT;