summaryrefslogtreecommitdiff
path: root/lib/str-unicode.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-23 21:09:03 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-23 21:09:03 +0100
commitae0ca4a2bfcfa5683830293539ffab0804a59653 (patch)
tree83f7cb7e5e13d7dbfd96af6a19fc0e2d25d0e38e /lib/str-unicode.c
parent1158c8d9082c7e32ef3a100b3e1a3ae9e208c694 (diff)
downloadgnutls-ae0ca4a2bfcfa5683830293539ffab0804a59653.tar.gz
gnutls_idna_map was prefixed with underscore to avoid clashes with exported symbolstmp-mini-idna2003-update
Diffstat (limited to 'lib/str-unicode.c')
-rw-r--r--lib/str-unicode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/str-unicode.c b/lib/str-unicode.c
index f8d6880e63..4be4b6e2a6 100644
--- a/lib/str-unicode.c
+++ b/lib/str-unicode.c
@@ -147,7 +147,7 @@ int gnutls_utf8_password_normalize(const unsigned char *password, unsigned passw
#ifdef HAVE_LIBIDN
/*-
- * gnutls_idna_map:
+ * _gnutls_idna_map:
* @input: contain the UTF-8 formatted domain name
* @ilen: the length of the provided string
* @out: the result in an null-terminated allocated string
@@ -163,7 +163,7 @@ int gnutls_utf8_password_normalize(const unsigned char *password, unsigned passw
*
* Since: 3.5.7
-*/
-int gnutls_idna_map(const char *input, unsigned ilen, gnutls_datum_t *out, unsigned flags)
+int _gnutls_idna_map(const char *input, unsigned ilen, gnutls_datum_t *out, unsigned flags)
{
char *idna = NULL;
int rc, ret;
@@ -207,7 +207,7 @@ int gnutls_idna_map(const char *input, unsigned ilen, gnutls_datum_t *out, unsig
#else
# undef gnutls_idna_map
-int gnutls_idna_map(const char *input, unsigned ilen, gnutls_datum_t *out, unsigned flags)
+int _gnutls_idna_map(const char *input, unsigned ilen, gnutls_datum_t *out, unsigned flags)
{
return gnutls_assert_val(GNUTLS_E_UNIMPLEMENTED_FEATURE);
}