Re: [PATCH] git_fopen: fix a sparse 'not declared' warning

2017-04-23 Thread Junio C Hamano
Ramsay Jones writes: > Commit 8f4f6e53d2 ("config.mak.uname: set FREAD_READS_DIRECTORIES for > Linux and FreeBSD", 20-04-2017) caused sparse to issue a 'not declared, > should it be static?' warning on Linux. This is a result of the method > employed by 'compat/fopen.c' to suppress the (possible)

[PATCH] git_fopen: fix a sparse 'not declared' warning

2017-04-21 Thread Ramsay Jones
Commit 8f4f6e53d2 ("config.mak.uname: set FREAD_READS_DIRECTORIES for Linux and FreeBSD", 20-04-2017) caused sparse to issue a 'not declared, should it be static?' warning on Linux. This is a result of the method employed by 'compat/fopen.c' to suppress the (possible) redefinition of the (system)