urlmatch.c: make match_urls() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 14, 2015 at 14:57 UTC
667f7eb2eac5b5b369dc2a3f444e6057563e683a
2 files changed
+3
-4
urlmatch.c
+3
-3
@@ -412,9 +412,9 @@ static size_t url_match_prefix(const char *url,
412
return 0;
413
}
414
415
-int match_urls(const struct url_info *url,
416
- const struct url_info *url_prefix,
417
- int *exactusermatch)
415
+static int match_urls(const struct url_info *url,
416
+ const struct url_info *url_prefix,
417
+ int *exactusermatch)
418
{
419
/*
420
* url_prefix matches url if the scheme, host and port of url_prefix
urlmatch.h
-1
@@ -31,7 +31,6 @@ struct url_info {
31
};
32
33
extern char *url_normalize(const char *, struct url_info *);
34
-extern int match_urls(const struct url_info *url, const struct url_info *url_prefix, int *exactusermatch);
34
35
struct urlmatch_item {
36
size_t matched_len;