Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
urlmatch.c: make match_urls() static
No external callers exist.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jan 15, 2015
1 parent 0131c49 commit 667f7eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions urlmatch.c
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion urlmatch.h
Expand Up @@ -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;
Expand Down

0 comments on commit 667f7eb

Please sign in to comment.