diff options
author | John Keeping | 2015-03-08 16:32:19 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2015-03-09 17:39:13 +0100 |
commit | eefd5e0aea23010c3f6667ba30e607e68427f9ad (patch) | |
tree | ea734d7afdb5a2303168b9a64d6c2a460ff3b696 | |
parent | 812cd49e3144946bbe604064abb1a442daa1eb9e (diff) | |
download | cgit-eefd5e0aea23010c3f6667ba30e607e68427f9ad.tar.gz cgit-eefd5e0aea23010c3f6667ba30e607e68427f9ad.tar.bz2 cgit-eefd5e0aea23010c3f6667ba30e607e68427f9ad.zip |
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>
-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 | { |