ui-shared: remove toggle_ssdiff arg to cgit_commit_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>
此提交包含在:
John Keeping
2014-10-05 10:59:02 +01:00
提交者 Lukas Fleischer
父節點 49f607777f
當前提交 eeddb5bc09
共有 5 個檔案被更改,包括 11 行新增13 行删除

查看文件

@ -30,8 +30,7 @@ extern void cgit_log_link(const char *name, const char *title,
const char *pattern, int showmsg);
extern void cgit_commit_link(char *name, const char *title,
const char *class, const char *head,
const char *rev, const char *path,
int toggle_ssdiff);
const char *rev, const char *path);
extern void cgit_patch_link(const char *name, const char *title,
const char *class, const char *head,
const char *rev, const char *path);