1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-13 06:26:09 +02:00

urlmatch.c: make match_urls() static

No external callers exist.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2015-01-14 14:57:08 -08:00
parent 0131c49096
commit 667f7eb2ea
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -31,7 +31,6 @@ struct url_info {
};
extern char *url_normalize(const char *, struct url_info *);
extern int match_urls(const struct url_info *url, const struct url_info *url_prefix, int *exactusermatch);
struct urlmatch_item {
size_t matched_len;