]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove function which is no longer used following the changes to
authorTom Hughes <tom@compton.nu>
Mon, 8 Mar 2004 15:57:17 +0000 (15:57 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 8 Mar 2004 15:57:17 +0000 (15:57 +0000)
the handling of libc thread specific data.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2297

coregrind/vg_libpthread.c

index 8b362a6fcfad9d121737666741a2eb02a6e337f5..c5d7cb0c3e5312862acbd8ed476d6c32a4748663 100644 (file)
@@ -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
    ------------------------------------------------ */