author | Lars Hjemli <hjemli@gmail.com> | 2007-10-27 08:25:40 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-27 08:53:27 (UTC) |
commit | 8efb05f98ad389d1b7f5aac17838401908622dad (patch) (unidiff) | |
tree | 100c407d28215fab0e5d2936c939ff39ec5290fc | |
parent | 6bce91be1a60b46270c69c4098a8c03f47dae63a (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.h | 2 | ||||
-rw-r--r-- | ui-summary.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -253,2 +253,4 @@ extern void cgit_print_snapshot_start(const char *mimetype, | |||
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 | ||
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, | |||
168 | 168 | ||
169 | static void cgit_print_branches(int maxcount) | 169 | void cgit_print_branches(int maxcount) |
170 | { | 170 | { |
@@ -194,3 +194,3 @@ static void cgit_print_branches(int maxcount) | |||
194 | 194 | ||
195 | static void cgit_print_tags(int maxcount) | 195 | void cgit_print_tags(int maxcount) |
196 | { | 196 | { |