@matheusbsbs / matheus-bagliano / commits / b79d18c92d
Fork 0

-Wold-style-definition fix

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jun 13, 2007 at 01:22 UTC b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1
3 files changed +3 -3
config.c
+1 -1
@@ -523,7 +523,7 @@ static int store_aux(const char* key, const char* value)
523 return 0;
524 }
525
526 -static int write_error()
526 +static int write_error(void)
527 {
528 fprintf(stderr, "Failed to write new configuration file\n");
529
merge-recursive.c
+1 -1
@@ -127,7 +127,7 @@ static void output(int v, const char *fmt, ...)
127 va_end(args);
128 }
129
130 -static void flush_output()
130 +static void flush_output(void)
131 {
132 struct output_buffer *b, *n;
133 for (b = output_list; b; b = n) {
sha1_file.c
+1 -1
@@ -413,7 +413,7 @@ static size_t peak_pack_mapped;
413 static size_t pack_mapped;
414 struct packed_git *packed_git;
415
416 -void pack_report()
416 +void pack_report(void)
417 {
418 fprintf(stderr,
419 "pack_report: getpagesize() = %10" SZ_FMT "\n"