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