Make cgit_print_branches()/cgit_print_tags() external
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
6bce91be1a
commit
8efb05f98a
2
cgit.h
2
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,
|
extern void cgit_print_snapshot_start(const char *mimetype,
|
||||||
const char *filename,
|
const char *filename,
|
||||||
struct cacheitem *item);
|
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_repolist(struct cacheitem *item);
|
||||||
extern void cgit_print_summary();
|
extern void cgit_print_summary();
|
||||||
|
@ -166,7 +166,7 @@ static int cgit_print_archive_cb(const char *refname, const unsigned char *sha1,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cgit_print_branches(int maxcount)
|
void cgit_print_branches(int maxcount)
|
||||||
{
|
{
|
||||||
struct reflist list;
|
struct reflist list;
|
||||||
int i;
|
int i;
|
||||||
@ -192,7 +192,7 @@ static void cgit_print_branches(int maxcount)
|
|||||||
cgit_print_branch(list.refs[i]);
|
cgit_print_branch(list.refs[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cgit_print_tags(int maxcount)
|
void cgit_print_tags(int maxcount)
|
||||||
{
|
{
|
||||||
struct reflist list;
|
struct reflist list;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user