diff options
author | John Keeping | 2015-03-08 16:32:16 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2015-03-09 17:38:30 +0100 |
commit | e3d3fffdd447cdb4551549faae65bae5353a2cab (patch) | |
tree | 43ab1eaeeabf9269d0eebb64e64e957183f41b4d /ui-refs.c | |
parent | 5150b7c1e69b4b09821e438006cfd77d82edae3b (diff) | |
download | cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.tar.gz cgit-e3d3fffdd447cdb4551549faae65bae5353a2cab.tar.bz2 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-refs.c')
-rw-r--r-- | ui-refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ static int print_branch(struct refinfo *ref) | |||
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |
84 | 84 | ||
85 | static void print_tag_header() | 85 | static void print_tag_header(void) |
86 | { | 86 | { |
87 | html("<tr class='nohover'><th class='left'>Tag</th>" | 87 | html("<tr class='nohover'><th class='left'>Tag</th>" |
88 | "<th class='left'>Download</th>" | 88 | "<th class='left'>Download</th>" |
@@ -234,7 +234,7 @@ void cgit_print_tags(int maxcount) | |||
234 | cgit_free_reflist_inner(&list); | 234 | cgit_free_reflist_inner(&list); |
235 | } | 235 | } |
236 | 236 | ||
237 | void cgit_print_refs() | 237 | void cgit_print_refs(void) |
238 | { | 238 | { |
239 | 239 | ||
240 | html("<table class='list nowrap'>"); | 240 | html("<table class='list nowrap'>"); |