summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
authorLars Hjemli <hjemli@gmail.com>2007-10-27 08:25:40 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-10-27 08:53:27 (UTC)
commit8efb05f98ad389d1b7f5aac17838401908622dad (patch) (side-by-side diff)
tree100c407d28215fab0e5d2936c939ff39ec5290fc /ui-summary.c
parent6bce91be1a60b46270c69c4098a8c03f47dae63a (diff)
downloadcgit-8efb05f98ad389d1b7f5aac17838401908622dad.zip
cgit-8efb05f98ad389d1b7f5aac17838401908622dad.tar.gz
cgit-8efb05f98ad389d1b7f5aac17838401908622dad.tar.bz2
Make cgit_print_branches()/cgit_print_tags() external
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-summary.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-summary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-summary.c b/ui-summary.c
index df79d01..97f1b57 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -163,13 +163,13 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
html_txt(buf);
html_link_close();
html("</td></tr>");
return 0;
}
-static void cgit_print_branches(int maxcount)
+void cgit_print_branches(int maxcount)
{
struct reflist list;
int i;
html("<tr class='nohover'><th class='left'>Branch</th>"
"<th class='left'>Idle</th>"
@@ -189,13 +189,13 @@ static void cgit_print_branches(int maxcount)
}
for(i=0; i<maxcount; 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;
header = 0;
list.refs = NULL;