neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit eefd5e0aea23010c3f6667ba30e607e68427f9ad
parent 812cd49e3144946bbe604064abb1a442daa1eb9e
Author: John Keeping <john@keeping.me.uk>
Date:   Sun,  8 Mar 2015 16:32:19 +0000

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>

Diffstat:
Mshared.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shared.c b/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 * 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) {