summaryrefslogtreecommitdiff
path: root/index-pack.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-11-18 12:07:06 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-11-18 19:40:00 (GMT)
commita6e8a7677055e092424db42c044774bc6dbd74f6 (patch)
treef891a5754045ea07e92897d2337f3bb2f50a6b79 /index-pack.c
parentf847c07b9ac82ff3d0da0efb3bed75bc17489a17 (diff)
downloadgit-a6e8a7677055e092424db42c044774bc6dbd74f6.zip
git-a6e8a7677055e092424db42c044774bc6dbd74f6.tar.gz
git-a6e8a7677055e092424db42c044774bc6dbd74f6.tar.bz2
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 'index-pack.c')
-rw-r--r--index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/index-pack.c b/index-pack.c
index 042aea8..8331d99 100644
--- a/index-pack.c
+++ b/index-pack.c
@@ -90,7 +90,7 @@ static SHA_CTX input_ctx;
static int input_fd, output_fd, mmap_fd;
/* Discard current buffer used content. */
-static void flush()
+static void flush(void)
{
if (input_offset) {
if (output_fd >= 0)