diff options
author | Lukas Fleischer | 2013-03-04 08:52:33 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-04 19:50:39 -0500 |
commit | bafab423f20bc1448b293842c235965e1681f07e (patch) | |
tree | 18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /ui-diff.c | |
parent | t0107-snapshot: add tests for ZIP archives (diff) | |
download | cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.gz cgit-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 'ui-diff.c')
-rw-r--r-- | ui-diff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui-diff.c b/ui-diff.c index 49e5b46..7de7802 100644 --- a/ui-diff.c +++ b/ui-diff.c | |||
@@ -166,8 +166,9 @@ static void inspect_filepair(struct diff_filepair *pair) | |||
166 | total_rems += lines_removed; | 166 | total_rems += lines_removed; |
167 | } | 167 | } |
168 | 168 | ||
169 | void cgit_print_diffstat(const unsigned char *old_sha1, | 169 | static void cgit_print_diffstat(const unsigned char *old_sha1, |
170 | const unsigned char *new_sha1, const char *prefix) | 170 | const unsigned char *new_sha1, |
171 | const char *prefix) | ||
171 | { | 172 | { |
172 | int i; | 173 | int i; |
173 | 174 | ||