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-diff.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-diff.c')
-rw-r--r-- | ui-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -311,7 +311,7 @@ static void filepair_cb(struct diff_filepair *pair) | |||
311 | cgit_ssdiff_footer(); | 311 | cgit_ssdiff_footer(); |
312 | } | 312 | } |
313 | 313 | ||
314 | void cgit_print_diff_ctrls() | 314 | void cgit_print_diff_ctrls(void) |
315 | { | 315 | { |
316 | int i, curr; | 316 | int i, curr; |
317 | 317 | ||