ui-shared: remove toggle_ssdiff arg to cgit_diff_link()

This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping
2014-10-05 10:59:03 +01:00
committed by Lukas Fleischer
parent eeddb5bc09
commit 03f537f1a1
4 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ extern void cgit_snapshot_link(const char *name, const char *title,
extern void cgit_diff_link(const char *name, const char *title,
const char *class, const char *head,
const char *new_rev, const char *old_rev,
const char *path, int toggle_ssdiff);
const char *path);
extern void cgit_stats_link(const char *name, const char *title,
const char *class, const char *head,
const char *path);