mirror of
https://git.zx2c4.com/cgit
synced 2025-06-21 09:35:42 +02: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:
parent
d5a43b429a
commit
bafab423f2
14 changed files with 64 additions and 60 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue