about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
@@ -251,6 +251,8 @@ extern void cgit_print_pageheader(char *title, int show_search);
 extern void cgit_print_snapshot_start(const char *mimetype,
 				      const char *filename,
 				      struct cacheitem *item);
+extern void cgit_print_branches(int maxcount);
+extern void cgit_print_tags(int maxcount);
 
 extern void cgit_print_repolist(struct cacheitem *item);
 extern void cgit_print_summary();
diff --git a/ui-summary.c b/ui-summary.c
index df79d01..97f1b57 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -166,7 +166,7 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
 	return 0;
 }
 
-static void cgit_print_branches(int maxcount)
+void cgit_print_branches(int maxcount)
 {
 	struct reflist list;
 	int i;
@@ -192,7 +192,7 @@ static void cgit_print_branches(int maxcount)
 		cgit_print_branch(list.refs[i]);
 }
 
-static void cgit_print_tags(int maxcount)
+void cgit_print_tags(int maxcount)
 {
 	struct reflist list;
 	int i;