зеркало из https://github.com/microsoft/git.git
urlmatch.c: make match_urls() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
0131c49096
Коммит
667f7eb2ea
|
@ -412,9 +412,9 @@ static size_t url_match_prefix(const char *url,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int match_urls(const struct url_info *url,
|
static int match_urls(const struct url_info *url,
|
||||||
const struct url_info *url_prefix,
|
const struct url_info *url_prefix,
|
||||||
int *exactusermatch)
|
int *exactusermatch)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* url_prefix matches url if the scheme, host and port of url_prefix
|
* url_prefix matches url if the scheme, host and port of url_prefix
|
||||||
|
|
|
@ -31,7 +31,6 @@ struct url_info {
|
||||||
};
|
};
|
||||||
|
|
||||||
extern char *url_normalize(const char *, 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 {
|
struct urlmatch_item {
|
||||||
size_t matched_len;
|
size_t matched_len;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче