Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-15 01:57:08 +0300
committerJunio C Hamano <gitster@pobox.com>2015-01-15 22:05:48 +0300
commit667f7eb2eac5b5b369dc2a3f444e6057563e683a (patch)
treef91279312d5a1320a34628df0c72606333a6145e /urlmatch.c
parent0131c4909674b35f870916f875e6404e3ba58bc9 (diff)
urlmatch.c: make match_urls() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 618d216491..132d342bc1 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