about summary refs log tree commit diff
path: root/libidn
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-05 16:11:51 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-05 16:11:51 +0000
commit2c03b6db26c016d83bcc9a6fa2298f67462fa735 (patch)
tree2bd563c81beb6ba9fc880aecc5588a81c314dcde /libidn
parent695c43708f8778c09915b297c95e48d66c814d0d (diff)
downloadglibc-2c03b6db26c016d83bcc9a6fa2298f67462fa735.tar.gz
glibc-2c03b6db26c016d83bcc9a6fa2298f67462fa735.tar.xz
glibc-2c03b6db26c016d83bcc9a6fa2298f67462fa735.zip
Update.
2004-10-05  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
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