diff options
-rw-r--r-- | shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -284,8 +284,8 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1) | |||
284 | * ripped from git and modified to use globals instead of | 284 | * ripped from git and modified to use globals instead of |
285 | * a special callback-struct. | 285 | * a special callback-struct. |
286 | */ | 286 | */ |
287 | char *diffbuf = NULL; | 287 | static char *diffbuf = NULL; |
288 | int buflen = 0; | 288 | static int buflen = 0; |
289 | 289 | ||
290 | static int filediff_cb(void *priv, mmbuffer_t *mb, int nbuf) | 290 | static int filediff_cb(void *priv, mmbuffer_t *mb, int nbuf) |
291 | { | 291 | { |