summaryrefslogtreecommitdiff
path: root/libidn
diff options
context:
space:
mode:
Diffstat (limited to 'libidn')
-rw-r--r--libidn/ChangeLog4
-rw-r--r--libidn/idn-stub.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/libidn/ChangeLog b/libidn/ChangeLog
index 7f65c50711..daeb4bdef0 100644
--- a/libidn/ChangeLog
+++ b/libidn/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-05 Ulrich Drepper <drepper@redhat.com>
+
+ * idn-stub.c (unload_libidn): Don't define outside libc.
+
2004-07-02 Roland McGrath <roland@redhat.com>
* configure: Don't exit.
diff --git a/libidn/idn-stub.c b/libidn/idn-stub.c
index 13cd4db5c2..3c69bbc3b3 100644
--- a/libidn/idn-stub.c
+++ b/libidn/idn-stub.c
@@ -132,6 +132,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
}
+#ifndef NOT_IN_libc
libc_freeres_fn (unload_libidn)
{
if (h != NULL && h != (void *) 1l)
@@ -140,3 +141,4 @@ libc_freeres_fn (unload_libidn)
h = (void *) 1l;
}
}
+#endif