the repository which powers this website
scan-tree: make some variables 'static'
These are not used outside this file and are not declared. Signed-off-by: John Keeping <[email protected]>
John Keeping 2015-03-09
parent 12d3d4c · commit 812cd49
-rw-r--r--scan-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c
index e900ad9f..8e3cf52b 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)
{