X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/973deda0eaf4e16c8cc0b25ca1bff1faae17584e..fd00d2f9d6088223f57006949dc6ce7c36316a79:/ui-snapshot.c diff --git a/ui-snapshot.c b/ui-snapshot.c index 54e659c..9be5dbe 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c @@ -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);