all repos — cgit @ eefd5e0aea23010c3f6667ba30e607e68427f9ad

a hyperfast web frontend for git written in c

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>
John Keeping john@keeping.me.uk
Sun, 08 Mar 2015 16:32:19 +0000
commit

eefd5e0aea23010c3f6667ba30e607e68427f9ad

parent

812cd49e3144946bbe604064abb1a442daa1eb9e

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M shared.cshared.c

@@ -284,8 +284,8 @@ * This is basically a copy of xdiff-interface.c/xdiff_outf(),

* 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) {