From: John Keeping Date: Sun, 8 Mar 2015 16:32:18 +0000 (+0000) Subject: scan-tree: make some variables 'static' X-Git-Tag: v0.11.2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=812cd49e3144946bbe604064abb1a442daa1eb9e;p=cgit scan-tree: make some variables 'static' These are not used outside this file and are not declared. Signed-off-by: John Keeping --- 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) {