summary refs log tree commit diff
path: root/libidn
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-06 09:09:35 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-06 09:09:35 +0000
commit0caba1fbdb2bb0d78bbf3a9cf4d227ad1c1f8f86 (patch)
treef86a1435f78ca214fb24daf9ba7a85f3dfd1ff54 /libidn
parent6fb78a87583a6d2f65a0fb4a77c950ddc037876c (diff)
downloadglibc-0caba1fbdb2bb0d78bbf3a9cf4d227ad1c1f8f86.tar.gz
glibc-0caba1fbdb2bb0d78bbf3a9cf4d227ad1c1f8f86.tar.xz
glibc-0caba1fbdb2bb0d78bbf3a9cf4d227ad1c1f8f86.zip
Updated to fedora-glibc-20041006T0900
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