mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 01:25:34 +02:00
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:
parent
eeddb5bc09
commit
03f537f1a1
4 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue