X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/eeddb5bc0905d4728001a111a9b1eb60ecccf9bd..23c17d8ff01b96619bc1f71274cb44f1425e10f4:/ui-refs.c?ds=sidebyside diff --git a/ui-refs.c b/ui-refs.c index d2ba48d..73a187b 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" @@ -140,7 +140,7 @@ static int print_tag(struct refinfo *ref) } html(""); - cgit_tag_link(name, NULL, NULL, ctx.qry.head, name); + cgit_tag_link(name, NULL, NULL, name); html(""); if (ctx.repo->snapshots && (obj->type == OBJ_COMMIT)) print_tag_downloads(ctx.repo, name); @@ -234,7 +234,7 @@ void cgit_print_tags(int maxcount) cgit_free_reflist_inner(&list); } -void cgit_print_refs() +void cgit_print_refs(void) { html("");