summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/gxx_wrappers.h
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2014-03-21 14:29:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-24 08:31:49 +0100
commit5ef9f23fb430f73cbb7cca72631768431f17717f (patch)
treeccf9776f7d2808b138323c8f753bd7252179efcc /cpukit/libcsupport/include/rtems/gxx_wrappers.h
parentlibcsupport: Remove unused gxx-wrapper function. (diff)
downloadrtems-5ef9f23fb430f73cbb7cca72631768431f17717f.tar.bz2
libcsupport: Use POSIX keys for GXX key functions
With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/gxx_wrappers.h')
-rw-r--r--cpukit/libcsupport/include/rtems/gxx_wrappers.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/rtems/gxx_wrappers.h b/cpukit/libcsupport/include/rtems/gxx_wrappers.h
index 801223e947..94502b937f 100644
--- a/cpukit/libcsupport/include/rtems/gxx_wrappers.h
+++ b/cpukit/libcsupport/include/rtems/gxx_wrappers.h
@@ -36,14 +36,8 @@ extern "C" {
/*
* These typedefs should match with the ones defined in the file
* gcc/gthr-rtems.h in the gcc distribution.
- * FIXME: T.S, 2007/01/31: -> gcc/gthr-rtems.h still declares
- * void * __gthread_key_t;
*/
-typedef struct __gthread_key_ {
- void *val; /* this is switched with the task */
- void (*dtor)(void*); /* this remains in place for all tasks */
-} __gthread_key, *__gthread_key_t;
-
+typedef void *__gthread_key_t;
typedef int __gthread_once_t;
typedef void *__gthread_mutex_t;
typedef void *__gthread_recursive_mutex_t;