From eeddb5bc0905d4728001a111a9b1eb60ecccf9bd Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 5 Oct 2014 10:59:02 +0100 Subject: 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 --- ui-shared.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui-shared.h') diff --git a/ui-shared.h b/ui-shared.h index 3e7a91b..bb193ec 100644 --- a/ui-shared.h +++ b/ui-shared.h @@ -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); -- cgit v1.2.3-59-g8ed1b