summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Rene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-11-18 13:07:06 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-18 11:40:00 -0800
commita6e8a7677055e092424db42c044774bc6dbd74f6 (patch)
treef891a5754045ea07e92897d2337f3bb2f50a6b79 /read-cache.c
parentgit-apply: Documentation typo fix (diff)
downloadtgif-a6e8a7677055e092424db42c044774bc6dbd74f6.tar.xz
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>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 97c38670b4..0f5fb5bc33 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -844,7 +844,7 @@ unmap:
die("index file corrupt");
}
-int discard_cache()
+int discard_cache(void)
{
int ret;