]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
Makefile: include Git's config.mak.uname
[ps-cgit] / ui-tree.c
index 4ab01372e7bacd44b1601ad8b5a5e6a84f9f6b47..c8d24f653553c4116f5759dabb94b06710de4f06 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -166,7 +166,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base,
        html("<td>");
        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 +180,7 @@ static int ls_item(const unsigned char *sha1, struct strbuf *base,
        return 0;
 }
 
-static void ls_head()
+static void ls_head(void)
 {
        html("<table summary='tree listing' class='list'>\n");
        html("<tr class='nohover'>");
@@ -191,7 +191,7 @@ static void ls_head()
        html("</tr>\n");
 }
 
-static void ls_tail()
+static void ls_tail(void)
 {
        html("</table>\n");
 }