X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/de83de276bef7509ab8255682595ad4521f3a193..9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5:/shared.c diff --git a/shared.c b/shared.c index a83afcb..3bd2a9e 100644 --- a/shared.c +++ b/shared.c @@ -7,7 +7,6 @@ */ #include "cgit.h" -#include struct cgit_repolist cgit_repolist; struct cgit_context ctx; @@ -250,8 +249,8 @@ int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags, return 0; } -static void cgit_diff_tree_cb(struct diff_queue_struct *q, - struct diff_options *options, void *data) +void cgit_diff_tree_cb(struct diff_queue_struct *q, + struct diff_options *options, void *data) { int i;