summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f847c07)
raw | patch | inline | side by side (parent: f847c07)
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 18 Nov 2006 12:07:06 +0000 (13:07 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 18 Nov 2006 19:40:00 +0000 (11:40 -0800) |
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>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
index-pack.c | patch | blob | history | |
read-cache.c | patch | blob | history |
diff --git a/index-pack.c b/index-pack.c
index 042aea8842b531254e9a2d0ec67cbaeb40990575..8331d99a62a457cb341a834792aedf5de9c5625f 100644 (file)
--- a/index-pack.c
+++ b/index-pack.c
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)
diff --git a/read-cache.c b/read-cache.c
index 97c38670b45d852b2f07f3d3addb2aaf6dbd8697..0f5fb5bc3350f7def1eb14e792507098118d1e66 100644 (file)
--- a/read-cache.c
+++ b/read-cache.c
die("index file corrupt");
}
-int discard_cache()
+int discard_cache(void)
{
int ret;