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:

committed by
Jason A. Donenfeld

parent
5150b7c1e6
commit
e3d3fffdd4
@ -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'>");
|
||||
|
Reference in New Issue
Block a user