mirror of
https://github.com/curl/curl.git
synced 2026-07-23 17:07:16 +03:00
Added prototypes to kill compiler warning.
This commit is contained in:
parent
1b1c43a9fe
commit
b13106339e
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,9 @@ WINBASEAPI int WINAPI IdnToUnicode(DWORD, const WCHAR *, int, WCHAR *, int);
|
|||
|
||||
#define IDN_MAX_LENGTH 255
|
||||
|
||||
int curl_win32_idn_to_ascii(const char *in, char **out);
|
||||
int curl_win32_ascii_to_idn(const char *in, size_t in_len, char **out_utf8);
|
||||
|
||||
int curl_win32_idn_to_ascii(const char *in, char **out)
|
||||
{
|
||||
wchar_t *in_w = Curl_convert_UTF8_to_wchar(in);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue