diff options
author | John Keeping <john@keeping.me.uk> | 2015-03-08 19:32:18 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-03-09 19:39:01 +0300 |
commit | 812cd49e3144946bbe604064abb1a442daa1eb9e (patch) | |
tree | 6cf64094ac7400ae321301dfa2d1ddee5650efa1 | |
parent | 12d3d4c3edfcf177c56ca97e5a4b0c8301ca46aa (diff) |
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.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) { |