From 117c452c9845cc19e7d947844d09c6b45a3413b7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 27 Nov 2002 07:09:18 +0000 Subject: Update. * sysdeps/i386/tls.h (THREAD_GETMEM_NC): Change interface. It now takes the array member name and the index as parameters. (THREAD_SETMEM_NC): Likewise. * pthread_getspecific.c: Use new THREAD_GETMEM_NC interface. * pthread_setspecific.c: Use new THREAD_GETMEM_NC and THREAD_SETMEM_NC interfaces. * sysdeps/i386/tls.h (THREAD_SETMEM): Use size of member element to decide which code to use. (THREAD_SETMEM_NC): Likewise. --- nptl/pthread_getspecific.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/pthread_getspecific.c') diff --git a/nptl/pthread_getspecific.c b/nptl/pthread_getspecific.c index 9e3b69480a..8b55364e2e 100644 --- a/nptl/pthread_getspecific.c +++ b/nptl/pthread_getspecific.c @@ -45,7 +45,7 @@ __pthread_getspecific (key) for this thread since the second level array is not allocated return NULL, too. */ struct pthread_key_data *level2 = THREAD_GETMEM_NC (THREAD_SELF, - specific[idx1st]); + specific, idx1st); if (level2 == NULL) /* Not allocated, therefore no data. */ return NULL; -- cgit 1.4.1