From: Tom Hughes Date: Mon, 8 Mar 2004 15:57:17 +0000 (+0000) Subject: Remove function which is no longer used following the changes to X-Git-Tag: svn/VALGRIND_2_1_1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec672c606dfa914b3f605de8096fbbc4c4b853df;p=thirdparty%2Fvalgrind.git Remove function which is no longer used following the changes to the handling of libc thread specific data. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2297 --- diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index 8b362a6fcf..c5d7cb0c3e 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -1674,22 +1674,6 @@ void * __pthread_getspecific(pthread_key_t key) } -#ifdef GLIBC_2_3 -static -void ** __pthread_getspecific_addr(pthread_key_t key) -{ - void** specifics_ptr; - ensure_valgrind("pthread_getspecific_addr"); - - if (!key_is_valid(key)) - return NULL; - - specifics_ptr = get_or_allocate_specifics_ptr(pthread_self()); - return &(specifics_ptr[key]); -} -#endif - - /* --------------------------------------------------- ONCEry ------------------------------------------------ */