diff options
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r-- | gcc/gthr-posix.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 9149e645ceb..02f70aa9b32 100644 --- a/gcc/gthr-posix.h +++ b/gcc/gthr-posix.h @@ -462,16 +462,6 @@ __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) } static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int __gthread_key_delete (__gthread_key_t key) { return pthread_key_delete (key); |