]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
git: update to v2.23.0
[ps-cgit] / ui-repolist.c
index af52f9ba0c6459de7c899d5f15a86b3e9948f3d7..7cf763891fcc069262476ac9bca153495f907efc 100644 (file)
@@ -11,7 +11,7 @@
 #include "html.h"
 #include "ui-shared.h"
 
-static time_t read_agefile(char *path)
+static time_t read_agefile(const char *path)
 {
        time_t result;
        size_t size;
@@ -288,9 +288,6 @@ void cgit_print_repolist(void)
        cgit_print_docstart();
        cgit_print_pageheader();
 
-       if (ctx.cfg.index_header)
-               html_include(ctx.cfg.index_header);
-
        if (ctx.qry.sort)
                sorted = sort_repolist(ctx.qry.sort);
        else if (ctx.cfg.section_sort)