X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7358f63015a27d1c22816a3c1f734c3d4beed115..aec1204a54e3baa12c76db75c2f67696def05eb0:/ui-tree.c diff --git a/ui-tree.c b/ui-tree.c index 4ab0137..2dbe89e 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -6,7 +6,6 @@ * (see COPYING for full license text) */ -#include #include "cgit.h" #include "ui-tree.h" #include "html.h" @@ -166,7 +165,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base, html(""); cgit_log_link("log", NULL, "button", ctx.qry.head, walk_tree_ctx->curr_rev, fullpath.buf, 0, NULL, NULL, - ctx.qry.showmsg); + ctx.qry.showmsg, 0); if (ctx.repo->max_stats) cgit_stats_link("stats", NULL, "button", ctx.qry.head, fullpath.buf); @@ -180,7 +179,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base, return 0; } -static void ls_head() +static void ls_head(void) { html("\n"); html(""); @@ -191,7 +190,7 @@ static void ls_head() html("\n"); } -static void ls_tail() +static void ls_tail(void) { html("
\n"); }