]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 20 Nov 2000 10:18:11 +0000 (10:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 20 Nov 2000 10:18:11 +0000 (10:18 +0000)
* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.

ChangeLog
malloc/thread-m.h

index d6d520f2b666363080bac8b96f5430cecc9614ff..b7b9ee3c275fdae508de10b041aa1544879f5f27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
 
+       * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
+
        * csu/gmon-start.c: Always have prototype for __gmon_start.
        * csu/version.c: Add prototypes for __libc_print_version and
        __libc_main.
index 4e51bc29f41b116484e616b6bf91e4d99f743729..37e7ac9f7441d01d9f1b6a4b6b9a21c315c1c102 100644 (file)
@@ -102,7 +102,7 @@ typedef pthread_mutex_t     mutex_t;
 
 #include <bits/libc-tsd.h>
 
-typedef int tsd_key_t[0];      /* no key data structure, libc magic does it */
+typedef int tsd_key_t[1];      /* no key data structure, libc magic does it */
 __libc_tsd_define (, MALLOC)   /* declaration/common definition */
 #define tsd_key_create(key, destr)     ((void) (key))
 #define tsd_setspecific(key, data)     __libc_tsd_set (MALLOC, (data))