diff options
Diffstat (limited to 'source/shared.h')
-rw-r--r--source/shared.h5
1 file changed, 5 insertions, 0 deletions
diff --git a/source/shared.h b/source/shared.h
index 129cfb7..46324a1 100644
--- a/source/shared.h
+++ b/source/shared.h
@@ -48,6 +48,11 @@ extern int cgit_refs_cb(const struct reference *ref, void *cb_data);
extern void cgit_free_commitinfo(struct commitinfo *info);
extern void cgit_free_taginfo(struct taginfo *info);
+/*
+ * A diff format callback that hands each filepair to the filepair_fn data
+ * points at. ISO C has no conversion between a function pointer and void *,
+ * so the function travels by address.
+ */
extern void cgit_diff_tree_cb(struct diff_queue_struct *q, struct diff_options *options, void *data);
/*