diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2013-03-04 16:52:33 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-05 09:50:39 (JST) |
commit | bafab423f20bc1448b293842c235965e1681f07e (patch) | |
tree | 18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /ui-snapshot.c | |
parent | d5a43b429a4248a02e3a403f76fff0cbae92ef32 (diff) | |
download | cgit-bafab423f20bc1448b293842c235965e1681f07e.zip cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.gz |
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 'ui-snapshot.c')
-rw-r--r-- | ui-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
153 | return NULL; | 153 | return NULL; |
154 | } | 154 | } |
155 | 155 | ||
156 | void show_error(char *msg) | 156 | static void show_error(char *msg) |
157 | { | 157 | { |
158 | ctx.page.mimetype = "text/html"; | 158 | ctx.page.mimetype = "text/html"; |
159 | cgit_print_http_headers(&ctx); | 159 | cgit_print_http_headers(&ctx); |