diff options
author | John Keeping | 2014-10-05 10:59:02 +0100 |
---|---|---|
committer | Lukas Fleischer | 2014-12-13 12:38:42 +0100 |
commit | eeddb5bc0905d4728001a111a9b1eb60ecccf9bd (patch) | |
tree | e1193c55a604584acc8e3198838b358d44a65133 /ui-shared.h | |
parent | 49f607777fe3d9393574a572d72caa568ee3ca3c (diff) | |
download | cgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.tar.gz cgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.tar.bz2 cgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.zip |
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>
Diffstat (limited to 'ui-shared.h')
-rw-r--r-- | ui-shared.h | 3 |
1 files changed, 1 insertions, 2 deletions
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, | |||
30 | const char *pattern, int showmsg); | 30 | const char *pattern, int showmsg); |
31 | extern void cgit_commit_link(char *name, const char *title, | 31 | extern void cgit_commit_link(char *name, const char *title, |
32 | const char *class, const char *head, | 32 | const char *class, const char *head, |
33 | const char *rev, const char *path, | 33 | const char *rev, const char *path); |
34 | int toggle_ssdiff); | ||
35 | extern void cgit_patch_link(const char *name, const char *title, | 34 | extern void cgit_patch_link(const char *name, const char *title, |
36 | const char *class, const char *head, | 35 | const char *class, const char *head, |
37 | const char *rev, const char *path); | 36 | const char *rev, const char *path); |