summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/specific.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/specific.c')
-rw-r--r--libpthread/linuxthreads/specific.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/specific.c b/libpthread/linuxthreads/specific.c
index 120bb13df..3df0e4720 100644
--- a/libpthread/linuxthreads/specific.c
+++ b/libpthread/linuxthreads/specific.c
@@ -27,8 +27,9 @@
static struct pthread_key_struct pthread_keys[PTHREAD_KEYS_MAX] =
{ { 0, NULL } };
-/* Put the maximum number of keys in a variable to make gdb happy. */
+/* For debugging purposes put the maximum number of keys in a variable. */
const int __linuxthreads_pthread_keys_max = PTHREAD_KEYS_MAX;
+const int __linuxthreads_pthread_key_2ndlevel_size = PTHREAD_KEY_2NDLEVEL_SIZE;
/* Mutex to protect access to pthread_keys */