From 8bebbfe0a02d3a20d4fa48811ee63e0825dc639f 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 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; -- 2.11.4.GIT