aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-03-08 16:32:18 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-09 17:39:01 +0100
commit812cd49e3144946bbe604064abb1a442daa1eb9e (patch)
tree6cf64094ac7400ae321301dfa2d1ddee5650efa1
parent12d3d4c3edfcf177c56ca97e5a4b0c8301ca46aa (diff)
downloadcgit-812cd49e3144946bbe604064abb1a442daa1eb9e.tar.gz
cgit-812cd49e3144946bbe604064abb1a442daa1eb9e.tar.bz2
cgit-812cd49e3144946bbe604064abb1a442daa1eb9e.zip
scan-tree: 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--scan-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c
index e900ad9..8e3cf52 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -45,8 +45,8 @@ out:
return result;
}
-struct cgit_repo *repo;
-repo_config_fn config_fn;
+static struct cgit_repo *repo;
+static repo_config_fn config_fn;
static void repo_config(const char *name, const char *value)
{