Skip to content

Commit

Permalink
-Wold-style-definition fix
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jun 13, 2007
1 parent 334d28a commit b79d18c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 1 addition & 1 deletion merge-recursive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion sha1_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b79d18c

Please sign in to comment.