X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/96ceb9a95a7a321209cff347fefd141a9fffc7ca..eefd5e0aea23010c3f6667ba30e607e68427f9ad:/ui-repolist.c?ds=inline
diff --git a/ui-repolist.c b/ui-repolist.c
index f929cb7..a6d0321 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -108,7 +108,7 @@ static int is_in_url(struct cgit_repo *repo)
static void print_sort_header(const char *title, const char *sort)
{
html("
%s | ", title);
}
-static void print_header()
+static void print_header(void)
{
html("");
print_sort_header("Name", "name");
@@ -140,7 +140,7 @@ static void print_pager(int items, int pagelen, char *search, char *sort)
class = (ctx.qry.ofs == ofs) ? "current" : NULL;
html("");
cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1),
- class, search, sort, ofs);
+ class, search, sort, ofs, 0);
html("");
}
html("");
@@ -247,7 +247,7 @@ static int sort_repolist(char *field)
}
-void cgit_print_repolist()
+void cgit_print_repolist(void)
{
int i, columns = 3, hits = 0, header = 0;
char *last_section = NULL;
@@ -275,6 +275,8 @@ void cgit_print_repolist()
html("