Fix old-style function declaration

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2011-01-08 01:46:41 +01:00
parent 99f493f529
commit 41d4e2e599

View File

@@ -1810,7 +1810,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;