From 805e22b2051e9c6a75377ea6599654d7415da483 Mon Sep 17 00:00:00 2001 From: zack Date: Mon, 16 Dec 2002 18:23:00 +0000 Subject: Merge basic-improvements-branch to trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gthr-posix.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gcc/gthr-posix.h') 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 @@ -461,16 +461,6 @@ __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) return pthread_key_create (key, dtor); } -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) { -- cgit v1.2.1