From 747b035dda97ae359ed00d84744acfa8cc009fb2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 14 Aug 2013 10:50:31 +0200 Subject: 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 --- ui-shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui-shared.h') 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 */ -- cgit v1.2.1