mirror of
https://git.zx2c4.com/cgit
synced 2025-06-21 01:25:46 +02: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:
parent
d5a43b429a
commit
bafab423f2
14 changed files with 64 additions and 60 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue