diff options
author | John Keeping | 2015-03-08 16:32:18 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2015-03-09 17:39:01 +0100 |
commit | 812cd49e3144946bbe604064abb1a442daa1eb9e (patch) | |
tree | 6cf64094ac7400ae321301dfa2d1ddee5650efa1 /scan-tree.c | |
parent | 12d3d4c3edfcf177c56ca97e5a4b0c8301ca46aa (diff) | |
download | cgit-812cd49e3144946bbe604064abb1a442daa1eb9e.tar cgit-812cd49e3144946bbe604064abb1a442daa1eb9e.tar.gz 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>
Diffstat (limited to 'scan-tree.c')
-rw-r--r-- | scan-tree.c | 4 |
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) { |