Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added prototypes to kill compiler warning.

  • Loading branch information...
commit b13106339eea9c0a7626ebe0f591d46cfac36cc6 1 parent 1b1c43a
@gknauf gknauf authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/idn_win32.c
View
3  lib/idn_win32.c
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.