mirror of
https://git.zx2c4.com/cgit
synced 2025-09-01 06:45:09 +00: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:
committed by
Jason A. Donenfeld
parent
d5a43b429a
commit
bafab423f2
@@ -166,8 +166,9 @@ static void inspect_filepair(struct diff_filepair *pair)
|
||||
total_rems += lines_removed;
|
||||
}
|
||||
|
||||
void cgit_print_diffstat(const unsigned char *old_sha1,
|
||||
const unsigned char *new_sha1, const char *prefix)
|
||||
static void cgit_print_diffstat(const unsigned char *old_sha1,
|
||||
const unsigned char *new_sha1,
|
||||
const char *prefix)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user