X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c422b9b3d5938a4d386533604d4c0dbedfcb2b6d..94182d6031df0d956a94ecd7ece233e345468961:/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();
}
|---|