summaryrefslogtreecommitdiff
path: root/urlmatch.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:15:05 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:15:05 +0900
commit919cec9979a865f8169eaa30e5ff6de8e4fe5565 (patch)
tree0d8aca1d417e0462dae1a587077a93d6f44386a0 /urlmatch.c
parent614a0a207999f413206bf547e3c603ac015554b0 (diff)
downloadgit-upstream/2.4.0.tar.gz
git-upstream/2.4.0.tar.bz2
git-upstream/2.4.0.zip
Imported Upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'urlmatch.c')
-rw-r--r--urlmatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/urlmatch.c b/urlmatch.c
index 618d2164..132d342b 100644
--- a/urlmatch.c
+++ b/urlmatch.c
@@ -412,9 +412,9 @@ static size_t url_match_prefix(const char *url,
return 0;
}
-int match_urls(const struct url_info *url,
- const struct url_info *url_prefix,
- int *exactusermatch)
+static int match_urls(const struct url_info *url,
+ const struct url_info *url_prefix,
+ int *exactusermatch)
{
/*
* url_prefix matches url if the scheme, host and port of url_prefix