-Wold-style-definition fix

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2007-06-13 01:22:51 -07:00
parent 334d28ae60
commit b79d18c92d
3 changed files with 3 additions and 3 deletions

View File

@ -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");

View File

@ -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) {

View File

@ -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"