about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-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 4e51bc29f4..37e7ac9f74 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))