Author: John Keeping <john@keeping.me.uk>
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>
scan-tree.c | 4 ++--
diff --git a/scan-tree.c b/scan-tree.c index e900ad9ff009a897f056bb0ceb183bcd37ed6f17..8e3cf52b348f2df6436246103e7c2280926c2c99 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -45,8 +45,8 @@ strbuf_release(&pathbuf); 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) {