diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/htl/pthread.h | 2 | ||||
-rw-r--r-- | sysdeps/nptl/pthread.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h index 0923ad0002..6bcf97d692 100644 --- a/sysdeps/htl/pthread.h +++ b/sysdeps/htl/pthread.h @@ -822,7 +822,7 @@ extern void *pthread_getspecific (pthread_key_t __key) __THROW; /* Set the caller thread's thread specific value of KEY to VALUE. */ extern int pthread_setspecific (pthread_key_t __key, const void *__value) - __THROW; + __THROW __attr_access_none (2); /* Dynamic package initialization. */ diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h index c363552f6c..af0c156c89 100644 --- a/sysdeps/nptl/pthread.h +++ b/sysdeps/nptl/pthread.h @@ -1182,7 +1182,8 @@ extern void *pthread_getspecific (pthread_key_t __key) __THROW; /* Store POINTER in the thread-specific data slot identified by KEY. */ extern int pthread_setspecific (pthread_key_t __key, - const void *__pointer) __THROW ; + const void *__pointer) + __THROW __attr_access_none (2); #ifdef __USE_XOPEN2K |