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 c7ecfb9111
commit b2c0b2756d

View File

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