about summary refs log tree commit diff
path: root/ui-tag.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-03-04 08:52:33 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 19:50:39 -0500
commitbafab423f20bc1448b293842c235965e1681f07e (patch)
tree18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /ui-tag.c
parentt0107-snapshot: add tests for ZIP archives (diff)
downloadcgit-pink-bafab423f20bc1448b293842c235965e1681f07e.tar.gz
cgit-pink-bafab423f20bc1448b293842c235965e1681f07e.zip
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-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-tag.c b/ui-tag.c
index cab96b1..4d340d4 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -30,7 +30,7 @@ static void print_tag_content(char *buf)
 	}
 }
 
-void print_download_links(char *revname)
+static void print_download_links(char *revname)
 {
 	html("<tr><th>download</th><td class='sha1'>");
 	cgit_print_snapshot_links(ctx.qry.repo, ctx.qry.head,