hostcheck: only build for the actual users

and make local function static
This commit is contained in:
Daniel Stenberg
2012-11-08 22:37:53 +01:00
parent 1394cad30f
commit 0af1a9d270
2 changed files with 7 additions and 3 deletions

View File

@@ -26,7 +26,6 @@
#define CURL_HOST_NOMATCH 0
#define CURL_HOST_MATCH 1
int Curl_hostmatch(const char *hostname, const char *pattern);
int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
#endif