1
0

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>
Dieser Commit ist enthalten in:
John Keeping 2015-03-08 16:32:19 +00:00 committet von Jason A. Donenfeld
Ursprung 812cd49e31
Commit eefd5e0aea

Datei anzeigen

@ -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
* a special callback-struct.
*/
char *diffbuf = NULL;
int buflen = 0;
static char *diffbuf = NULL;
static int buflen = 0;
static int filediff_cb(void *priv, mmbuffer_t *mb, int nbuf)
{