diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 21:39:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 21:39:45 +0000 |
commit | 889fc2b5ca6730d9bf496a24fe3361e62546bb84 (patch) | |
tree | 926a6369178bbf5e0c1732e74bbc813957d91f4a /cpukit/libcsupport | |
parent | 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-889fc2b5ca6730d9bf496a24fe3361e62546bb84.tar.bz2 |
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/gxx_wrappers.c: Revert.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/gxx_wrappers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/gxx_wrappers.c b/cpukit/libcsupport/src/gxx_wrappers.c index 1cee8a2c16..8fa17fade0 100644 --- a/cpukit/libcsupport/src/gxx_wrappers.c +++ b/cpukit/libcsupport/src/gxx_wrappers.c @@ -53,13 +53,13 @@ typedef void *__gthread_recursive_mutex_t; /* uncomment this if you need to debug this interface */ -#define DEBUG_GXX_WRAPPERS 1 /* +#define DEBUG_GXX_WRAPPERS 1 */ #ifdef DEBUG_GXX_WRAPPERS /* local function to return the ID of the calling thread */ -static rtems_id rtems_gxx_get_tid( void ) +static rtems_id get_tid( void ) { rtems_id id = 0; rtems_task_ident( RTEMS_SELF, 0, &id ); @@ -160,7 +160,7 @@ void *rtems_gxx_getspecific(__gthread_key_t key) } #ifdef DEBUG_GXX_WRAPPERS - printk( "gxx_wrappers: getspecific key=%x, ptr=%x, id=%x\n", key, p, rtems_gxx_get_tid() ); + printk( "gxx_wrappers: getspecific key=%x, ptr=%x, id=%x\n", key, p, get_tid() ); #endif return p; } @@ -169,7 +169,7 @@ void *rtems_gxx_getspecific(__gthread_key_t key) int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) { #ifdef DEBUG_GXX_WRAPPERS - printk( "gxx_wrappers: setspecific key=%x, ptr=%x, id=%x\n", key, ptr, rtems_gxx_get_tid() ); + printk( "gxx_wrappers: setspecific key=%x, ptr=%x, id=%x\n", key, ptr, get_tid() ); #endif /* register with RTEMS the buffer that will hold the key values */ if( rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor ) == RTEMS_SUCCESSFUL ) |