aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorJohn Keeping2014-10-05 10:59:03 +0100
committerLukas Fleischer2014-12-13 12:38:42 +0100
commit03f537f1a134c8578ae4c16055596539fbbcc220 (patch)
tree4c16fece25d645a7e52565d82833528d3c22d240 /ui-shared.h
parenteeddb5bc0905d4728001a111a9b1eb60ecccf9bd (diff)
downloadcgit-03f537f1a134c8578ae4c16055596539fbbcc220.tar.gz
cgit-03f537f1a134c8578ae4c16055596539fbbcc220.tar.bz2
cgit-03f537f1a134c8578ae4c16055596539fbbcc220.zip
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>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h2
1 files changed, 1 insertions, 1 deletions
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,
43extern void cgit_diff_link(const char *name, const char *title, 43extern void cgit_diff_link(const char *name, const char *title,
44 const char *class, const char *head, 44 const char *class, const char *head,
45 const char *new_rev, const char *old_rev, 45 const char *new_rev, const char *old_rev,
46 const char *path, int toggle_ssdiff); 46 const char *path);
47extern void cgit_stats_link(const char *name, const char *title, 47extern void cgit_stats_link(const char *name, const char *title,
48 const char *class, const char *head, 48 const char *class, const char *head,
49 const char *path); 49 const char *path);