-rw-r--r-- | cgit.h | 2 | ||||
-rw-r--r-- | ui-summary.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -251,6 +251,8 @@ extern void cgit_print_pageheader(char *title, int show_search); | |||
251 | extern void cgit_print_snapshot_start(const char *mimetype, | 251 | extern void cgit_print_snapshot_start(const char *mimetype, |
252 | const char *filename, | 252 | const char *filename, |
253 | struct cacheitem *item); | 253 | struct cacheitem *item); |
254 | extern void cgit_print_branches(int maxcount); | ||
255 | extern void cgit_print_tags(int maxcount); | ||
254 | 256 | ||
255 | extern void cgit_print_repolist(struct cacheitem *item); | 257 | extern void cgit_print_repolist(struct cacheitem *item); |
256 | extern void cgit_print_summary(); | 258 | 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, | |||
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | 168 | ||
169 | static void cgit_print_branches(int maxcount) | 169 | void cgit_print_branches(int maxcount) |
170 | { | 170 | { |
171 | struct reflist list; | 171 | struct reflist list; |
172 | int i; | 172 | int i; |
@@ -192,7 +192,7 @@ static void cgit_print_branches(int maxcount) | |||
192 | cgit_print_branch(list.refs[i]); | 192 | cgit_print_branch(list.refs[i]); |
193 | } | 193 | } |
194 | 194 | ||
195 | static void cgit_print_tags(int maxcount) | 195 | void cgit_print_tags(int maxcount) |
196 | { | 196 | { |
197 | struct reflist list; | 197 | struct reflist list; |
198 | int i; | 198 | int i; |