Avoid non-ANSI function declarations

Sparse says things like:

	warning: non-ANSI function declaration of function 'calc_ttl'

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping
2015-03-08 16:32:16 +00:00
committed by Jason A. Donenfeld
parent 5150b7c1e6
commit e3d3fffdd4
9 changed files with 25 additions and 25 deletions

View File

@ -82,7 +82,7 @@ static int print_branch(struct refinfo *ref)
return 0;
}
static void print_tag_header()
static void print_tag_header(void)
{
html("<tr class='nohover'><th class='left'>Tag</th>"
"<th class='left'>Download</th>"
@ -234,7 +234,7 @@ void cgit_print_tags(int maxcount)
cgit_free_reflist_inner(&list);
}
void cgit_print_refs()
void cgit_print_refs(void)
{
html("<table class='list nowrap'>");