aboutsummaryrefslogtreecommitdiff
path: root/malloc/thread-m.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-20 10:18:11 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-20 10:18:11 +0000
commitce3019ccbbc481b87d119113a47168f03a4f55e6 (patch)
treead0ae9af246c023b0f2f21411faa945c169dc07a /malloc/thread-m.h
parentad5b53b1075af3514ae5e1c665f95529e4e7818e (diff)
downloadglibc-ce3019ccbbc481b87d119113a47168f03a4f55e6.zip
glibc-ce3019ccbbc481b87d119113a47168f03a4f55e6.tar.gz
glibc-ce3019ccbbc481b87d119113a47168f03a4f55e6.tar.bz2
Update.
* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
Diffstat (limited to 'malloc/thread-m.h')
-rw-r--r--malloc/thread-m.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/thread-m.h b/malloc/thread-m.h
index 4e51bc2..37e7ac9 100644
--- a/malloc/thread-m.h
+++ b/malloc/thread-m.h
@@ -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))