Mark several functions/variables static

Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
此提交包含在:
Lukas Fleischer
2013-03-04 08:52:33 +01:00
提交者 Jason A. Donenfeld
父節點 d5a43b429a
當前提交 bafab423f2
共有 14 個檔案被更改,包括 64 行新增60 行删除

查看文件

@@ -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);