summaryrefslogtreecommitdiff
path: root/lib/idn_win32.c
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-07-27 03:27:51 +0200
committerGuenter Knauf <lists@gknw.net>2012-07-27 03:27:51 +0200
commitb13106339eea9c0a7626ebe0f591d46cfac36cc6 (patch)
tree6dfb5ecdbbf526d5fa444f7c8ebd66e3f765bf93 /lib/idn_win32.c
parent1b1c43a9fe547996d237a4839d9557edaf5f179e (diff)
downloadcurl-b13106339eea9c0a7626ebe0f591d46cfac36cc6.tar.gz
Added prototypes to kill compiler warning.
Diffstat (limited to 'lib/idn_win32.c')
-rw-r--r--lib/idn_win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/idn_win32.c b/lib/idn_win32.c
index 84269de89..6ea3dc018 100644
--- a/lib/idn_win32.c
+++ b/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);