]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-tag.c
Always #include corresponding .h in .c files
[cgit.git] / ui-tag.c
index 39e4cb82c5f66c6524962fe4be794cd5bab71782..5a22696a0b159accd0e239ee8bab2c8c72debb28 100644 (file)
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -7,6 +7,7 @@
  */
 
 #include "cgit.h"
+#include "ui-tag.h"
 #include "html.h"
 #include "ui-shared.h"
 
@@ -30,7 +31,7 @@ static void print_tag_content(char *buf)
        }
 }
 
-void print_download_links(char *revname)
+static void print_download_links(char *revname)
 {
        html("<tr><th>download</th><td class='sha1'>");
        cgit_print_snapshot_links(ctx.qry.repo, ctx.qry.head,
@@ -99,6 +100,6 @@ void cgit_print_tag(char *revname)
                if (ctx.repo->snapshots)
                        print_download_links(revname);
                html("</table>\n");
-        }
+       }
        return;
 }