idn: replace header guards with forward declaration
No binary (build failed)
—
(log yok)
| @@ -25,19 +25,16 @@ | |
| ***************************************************************************/ | |
| struct Curl_str; | |
| + | struct hostname; |
| bool Curl_is_ASCII_name(const char *hostname); | |
| bool Curl_is_ASCII_str(struct Curl_str *s); | |
| - | #ifdef HEADER_CURL_URLDATA_H /* HACK */ |
| CURLcode Curl_idnconvert_hostname(struct hostname *host); | |
| - | #endif |
| #if defined(USE_LIBIDN2) || defined(USE_WIN32_IDN) || defined(USE_APPLE_IDN) | |
| #define USE_IDN | |
| - | #ifdef HEADER_CURL_URLDATA_H /* HACK */ |
| void Curl_free_idnconverted_hostname(struct hostname *host); | |
| - | #endif |
| CURLcode Curl_idn_decode(const char *input, char **output); | |
| CURLcode Curl_idn_encode(const char *puny, char **output); | |
| #else | |