X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c422b9b3d5938a4d386533604d4c0dbedfcb2b6d..aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca:/ui-refs.c diff --git a/ui-refs.c b/ui-refs.c index ac8a6d4..be3572c 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -63,7 +63,7 @@ static int print_branch(struct refinfo *ref) return 1; html(""); cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL, - ctx.qry.showmsg); + ctx.qry.showmsg, 0); html(""); if (ref->object->type == OBJ_COMMIT) { @@ -82,7 +82,7 @@ static int print_branch(struct refinfo *ref) return 0; } -static void print_tag_header() +static void print_tag_header(void) { html("Tag" "Download" @@ -234,9 +234,9 @@ void cgit_print_tags(int maxcount) cgit_free_reflist_inner(&list); } -void cgit_print_refs() +void cgit_print_refs(void) { - + cgit_print_layout_start(); html(""); if (ctx.qry.path && starts_with(ctx.qry.path, "heads")) @@ -249,4 +249,5 @@ void cgit_print_refs() cgit_print_tags(0); } html("
"); + cgit_print_layout_end(); }