upload-pack: optionally allow fetching reachable sha1
[gitweb.git] / urlmatch.c
index 618d2164919758b141aa9d6408c57a4fb99c922c..132d342bc12bf790f9964f179385aa4f08e6ae00 100644 (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