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 9307aff895
commit 9481660182

View file

@ -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;