aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorGravatar Lukas Fleischer <cgit@cryptocrack.de>2013-08-14 17:50:31 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-08-17 04:15:37 (JST)
commit747b035dda97ae359ed00d84744acfa8cc009fb2 (patch)
tree145fa574deaaca9c5a3dc04855c582a3f89001c2 /ui-shared.h
parentcf152604c3e28810d7e4c4a67b9814ab3e401cb0 (diff)
downloadcgit-747b035dda97ae359ed00d84744acfa8cc009fb2.zip
cgit-747b035dda97ae359ed00d84744acfa8cc009fb2.tar.gz
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,
67 const char *hex, int snapshots); 67 const char *hex, int snapshots);
68extern void cgit_add_hidden_formfields(int incl_head, int incl_search, 68extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
69 const char *page); 69 const char *page);
70extern void filepair_cb_raw(struct diff_filepair *pair);
70#endif /* UI_SHARED_H */ 71#endif /* UI_SHARED_H */