mirror of
https://git.zx2c4.com/cgit
synced 2025-09-01 23:05:13 +00:00
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
d5a43b429a
commit
bafab423f2
@@ -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);
|
||||
|
Reference in New Issue
Block a user