diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@lfos.de>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to '')
-rw-r--r--ui-snapshot.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 54e659c..e199a92 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -153,7 +153,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);