]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-snapshot.c
ui-refs.c: Refactor print_tag()
[ps-cgit] / ui-snapshot.c
index 54e659c859200ff8d3d70374a11a293859e81745..9be5dbef808526b3b0dd9d518163b206ead37b9f 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include "cgit.h"
+#include "ui-snapshot.h"
 #include "html.h"
 #include "ui-shared.h"
 
@@ -153,7 +154,7 @@ static const char *get_ref_from_filename(const char *url, const char *filename,
        return NULL;
 }
 
-void show_error(char *msg)
+static void show_error(char *msg)
 {
        ctx.page.mimetype = "text/html";
        cgit_print_http_headers(&ctx);