From 013f1c9d36299432b546a2e6fa3a33e3211accee 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 83f06f6e74..d4d3fdfb2e 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1826,7 +1826,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;