about summary refs log tree commit diff stats
path: root/ui-summary.c
diff options
context:
space:
mode:
authorJohn Keeping2015-03-08 16:32:16 +0000
committerJason A. Donenfeld2015-03-09 17:38:30 +0100
commite3d3fffdd447cdb4551549faae65bae5353a2cab (patch)
tree43ab1eaeeabf9269d0eebb64e64e957183f41b4d /ui-summary.c
parentMakefile: add a target to run CGit through sparse (diff)
downloadcgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.tar.gz
cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.zip
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>
Diffstat (limited to 'ui-summary.c')
-rw-r--r--ui-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c index fa5ba04..b0af073 100644 --- a/ui-summary.c +++ b/ui-summary.c
@@ -40,7 +40,7 @@ static void print_url(const char *url)
40 html("</a></td></tr>\n"); 40 html("</a></td></tr>\n");
41} 41}
42 42
43void cgit_print_summary() 43void cgit_print_summary(void)
44{ 44{
45 int columns = 3; 45 int columns = 3;
46 46