From 747e15472a6636b8d218560db94549cfbe5404c6 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Wed, 24 Apr 2013 22:41:04 +0200 Subject: [PATCH] rtai: change SEM typedefs again in agnostic mode. Signed-off-by: Peter Soetens --- rtt/os/lxrt/fosi.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/rtt/os/lxrt/fosi.h b/rtt/os/lxrt/fosi.h index a624b2a..e6412f0 100644 --- a/rtt/os/lxrt/fosi.h +++ b/rtt/os/lxrt/fosi.h @@ -85,17 +85,8 @@ extern "C" { typedef __LXRT_HANDLE_STRUCT RTOS_RTAI_CND; #endif // OROBLD_OS_AGNOSTIC // for RTAI header files. - // this is required because the rtos_sem_init function takes a pointer to RTOS_SEM, - // which contains a pointer to the real RTAI sem. - typedef struct oro_rtai_sem_t { - RTOS_RTAI_SEM* sem; - } rt_sem_t; - - // this is required because the rtos_cond_init function takes a pointer to RTOS_COND, - // which contains a pointer to the real RTAI cond - typedef struct oro_rtai_cond_t { - RTOS_RTAI_CND* cond; - } rt_cond_t; + typedef RTOS_RTAI_SEM rt_sem_t; + typedef RTOS_RTAI_CND rt_cond_t; #define __LXRT_USERSPACE__ -- 1.7.9.5