summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 334d28a)
raw | patch | inline | side by side (parent: 334d28a)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 08:22:51 +0000 (01:22 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 09:02:10 +0000 (02:02 -0700) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c | patch | blob | history | |
merge-recursive.c | patch | blob | history | |
sha1_file.c | patch | blob | history |
diff --git a/config.c b/config.c
index 58d3ed5d371b6d7548f6677e65135bd3f01851d0..e323153ae4f91c661cf35fdeea3041a2a621b34e 100644 (file)
--- a/config.c
+++ b/config.c
return 0;
}
-static int write_error()
+static int write_error(void)
{
fprintf(stderr, "Failed to write new configuration file\n");
diff --git a/merge-recursive.c b/merge-recursive.c
index 4a82b741ae020376ac67b34d5fce86e8a87a3b5d..c8539ec0bafce5e238d97d6397a9d08c2c92a09c 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
va_end(args);
}
-static void flush_output()
+static void flush_output(void)
{
struct output_buffer *b, *n;
for (b = output_list; b; b = n) {
diff --git a/sha1_file.c b/sha1_file.c
index 2b860868f55a83ed599f39d7820a9fb227946912..eb7fc922d3b3a1cde8e417e62d87b1db1b3001bd 100644 (file)
--- a/sha1_file.c
+++ b/sha1_file.c
static size_t pack_mapped;
struct packed_git *packed_git;
-void pack_report()
+void pack_report(void)
{
fprintf(stderr,
"pack_report: getpagesize() = %10" SZ_FMT "\n"