sparse fix: non-ANSI function declaration

The declaration of discard_cache() in cache.h already has its "void".

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Rene Scharfe
2006-11-18 13:07:06 +01:00
committed by Junio C Hamano
parent f847c07b9a
commit a6e8a76770
2 changed files with 2 additions and 2 deletions

View File

@ -844,7 +844,7 @@ unmap:
die("index file corrupt");
}
int discard_cache()
int discard_cache(void)
{
int ret;