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

@ -40,7 +40,7 @@ static void print_url(const char *url)
html("</a></td></tr>\n");
}
void cgit_print_summary()
void cgit_print_summary(void)
{
int columns = 3;