cgit

commit 8efb05f98ad389d1b7f5aac17838401908622dad

Author: Lars Hjemli <hjemli@gmail.com>

Make cgit_print_branches()/cgit_print_tags() external

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

 cgit.h | 2 ++
 ui-summary.c | 4 ++--


diff --git a/cgit.h b/cgit.h
index bb0e64ca002e852e8fc8097fd9d8cc3447939786..a1fe5276f70b6faf02b0c9234fb4f23e38ff6c59 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 df79d01c06f90014baa3e8d4b132ae039e32815c..97f1b57a5c8c68aa5b553f4e1bc8475fc36e94a5 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -166,7 +166,7 @@ 	html("");
 	return 0;
 }
 
-static void cgit_print_branches(int maxcount)
+void cgit_print_branches(int maxcount)
 {
 	struct reflist list;
 	int i;
@@ -192,7 +192,7 @@ 	for(i=0; i 		cgit_print_branch(list.refs[i]);
 }
 
-static void cgit_print_tags(int maxcount)
+void cgit_print_tags(int maxcount)
 {
 	struct reflist list;
 	int i;