mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 00:18:41 +00:00
shared: make some variables 'static'
These are not used outside this file and are not declared. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
812cd49e31
commit
eefd5e0aea
4
shared.c
4
shared.c
@ -284,8 +284,8 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1)
|
|||||||
* ripped from git and modified to use globals instead of
|
* ripped from git and modified to use globals instead of
|
||||||
* a special callback-struct.
|
* a special callback-struct.
|
||||||
*/
|
*/
|
||||||
char *diffbuf = NULL;
|
static char *diffbuf = NULL;
|
||||||
int buflen = 0;
|
static int buflen = 0;
|
||||||
|
|
||||||
static int filediff_cb(void *priv, mmbuffer_t *mb, int nbuf)
|
static int filediff_cb(void *priv, mmbuffer_t *mb, int nbuf)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user