aboutsummaryrefslogtreecommitdiff
path: root/cgit.h
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/cgit.h b/cgit.h
index bd2dd0d..c276a24 100644
--- a/cgit.h
+++ b/cgit.h
@@ -207,8 +207,6 @@ extern void cgit_log_link(char *name, char *title, char *class, char *head,
char *rev, char *path);
extern void cgit_commit_link(char *name, char *title, char *class, char *head,
char *rev);
-extern void cgit_diff_link(char *name, char *title, char *class, char *head,
- char *new_rev, char *old_rev, char *path);
extern void cgit_print_error(char *msg);
extern void cgit_print_date(time_t secs, char *format);
@@ -225,8 +223,9 @@ extern void cgit_print_summary();
extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager);
extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
extern void cgit_print_tree(const char *rev, char *path);
-extern void cgit_print_commit(char *hex);
-extern void cgit_print_diff(const char *new_hex, const char *old_hex);
+extern void cgit_print_commit(const char *hex);
+extern void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex,
+ char *path);
extern void cgit_print_snapshot(struct cacheitem *item, const char *hex,
const char *format, const char *prefix,
const char *filename);