summaryrefslogtreecommitdiff
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-08-14 10:50:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-16 13:15:37 -0600
commit747b035dda97ae359ed00d84744acfa8cc009fb2 (patch)
tree145fa574deaaca9c5a3dc04855c582a3f89001c2 /ui-shared.h
parentcf152604c3e28810d7e4c4a67b9814ab3e401cb0 (diff)
Extract filepair_cb from ui-patch.c
Move filepair_cb() from ui-patch.c to ui-shared.c and rename it to filepair_cb_raw(). This callback will be used in ui-diff.c in a follow-up patch. Note that it is not straightforward to extract filepair_cb() from ui-diff.c which is why it is not done here as well. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 5987e77..a337dce 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -67,4 +67,5 @@ extern void cgit_print_snapshot_links(const char *repo, const char *head,
const char *hex, int snapshots);
extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
const char *page);
+extern void filepair_cb_raw(struct diff_filepair *pair);
#endif /* UI_SHARED_H */