diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-13 01:22:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-13 02:02:10 -0700 |
commit | b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (patch) | |
tree | d0c81d1b53c03aefe4cdad33f6c4a80ca6c290da | |
parent | 334d28ae606c2d007803594cfc20d9e7997c0543 (diff) | |
download | git-b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1.tar.gz |
-Wold-style-definition fix
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | config.c | 2 | ||||
-rw-r--r-- | merge-recursive.c | 2 | ||||
-rw-r--r-- | sha1_file.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -523,7 +523,7 @@ static int store_aux(const char* key, const char* value) 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 4a82b741ae..c8539ec0ba 100644 --- a/merge-recursive.c +++ b/merge-recursive.c @@ -127,7 +127,7 @@ static void output(int v, const char *fmt, ...) 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 2b860868f5..eb7fc922d3 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -413,7 +413,7 @@ static size_t peak_pack_mapped; 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" |