]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Avoid non-ANSI function declarations
[ps-cgit] / ui-repolist.c
index e945f6733270f83f654a3204a75edb42a0156f68..a6d032114db92ab052deaae236939a82f7992027 100644 (file)
@@ -117,7 +117,7 @@ static void print_sort_header(const char *title, const char *sort)
        htmlf("'>%s</a></th>", title);
 }
 
-static void print_header()
+static void print_header(void)
 {
        html("<tr class='nohover'>");
        print_sort_header("Name", "name");
@@ -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;
@@ -344,7 +344,7 @@ void cgit_print_repolist()
        cgit_print_docend();
 }
 
-void cgit_print_site_readme()
+void cgit_print_site_readme(void)
 {
        if (!ctx.cfg.root_readme)
                return;