]> git.cameronkatri.com Git - cgit.git/blobdiff - shared.c
ui-tree: use "sane" isgraph()
[cgit.git] / shared.c
index a83afcb3e275bed29d41ec779bf019ddde7589c5..3bd2a9e3dadd39282712f297218433cdfcdb34d1 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -7,7 +7,6 @@
  */
 
 #include "cgit.h"
-#include <stdio.h>
 
 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;