summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/keygetspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/keygetspecific.c')
-rw-r--r--cpukit/posix/src/keygetspecific.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/posix/src/keygetspecific.c b/cpukit/posix/src/keygetspecific.c
index ef3fd736a7..d10e6c2661 100644
--- a/cpukit/posix/src/keygetspecific.c
+++ b/cpukit/posix/src/keygetspecific.c
@@ -1,5 +1,5 @@
/*
- * $Id$
+ * keygetspecific.c,v 1.3 2002/12/02 19:15:24 joel Exp
*/
#if HAVE_CONFIG_H
@@ -27,7 +27,7 @@ void *pthread_getspecific(
{
register POSIX_Keys_Control *the_key;
unsigned32 index;
- unsigned32 class;
+ unsigned32 api;
Objects_Locations location;
void *key_data;
@@ -38,8 +38,8 @@ void *pthread_getspecific(
return NULL;
case OBJECTS_LOCAL:
index = _Objects_Get_index( _Thread_Executing->Object.id );
- class = _Objects_Get_class( _Thread_Executing->Object.id );
- key_data = (void *) the_key->Values[ class ][ index ];
+ api = _Objects_Get_API( _Thread_Executing->Object.id );
+ key_data = (void *) the_key->Values[ api ][ index ];
_Thread_Enable_dispatch();
return key_data;
}