From 5ef9f23fb430f73cbb7cca72631768431f17717f Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 21 Mar 2014 14:29:55 +0100 Subject: 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. --- cpukit/libcsupport/include/rtems/gxx_wrappers.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'cpukit/libcsupport/include/rtems/gxx_wrappers.h') 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; -- cgit v1.2.3