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 40f8520bb8
commit 6eb5703d24

View File

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