Commit 667f7eb2 authored by Junio C Hamano's avatar Junio C Hamano

urlmatch.c: make match_urls() static

No external callers exist.
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 0131c490
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment