From fae4bbdb5ee855547f447b4a3279f070728acc9f Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 8 Jan 2011 01:46:41 +0100 Subject: [PATCH] Fix old-style function declaration Signed-off-by: Johannes Schindelin --- compat/mingw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/mingw.c b/compat/mingw.c index 68586253df..e4b6b6f13b 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1773,7 +1773,7 @@ pid_t waitpid(pid_t pid, int *status, unsigned 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; -- 2.11.4.GIT