summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.h2
-rw-r--r--ui-summary.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index bb0e64c..a1fe527 100644
--- a/cgit.h
+++ b/cgit.h
@@ -253,2 +253,4 @@ extern void cgit_print_snapshot_start(const char *mimetype,
struct cacheitem *item);
+extern void cgit_print_branches(int maxcount);
+extern void cgit_print_tags(int maxcount);
diff --git a/ui-summary.c b/ui-summary.c
index df79d01..97f1b57 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -168,3 +168,3 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
-static void cgit_print_branches(int maxcount)
+void cgit_print_branches(int maxcount)
{
@@ -194,3 +194,3 @@ static void cgit_print_branches(int maxcount)
-static void cgit_print_tags(int maxcount)
+void cgit_print_tags(int maxcount)
{