From 81725398561a3bca01539c74318b832cc338a953 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 10:22:17 +0200 Subject: [PATCH] POSIX: Fix px4_sem_t typedef --- src/platforms/px4_posix.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/platforms/px4_posix.h b/src/platforms/px4_posix.h index 9674b1c896..b061f89fa8 100644 --- a/src/platforms/px4_posix.h +++ b/src/platforms/px4_posix.h @@ -71,7 +71,7 @@ __END_DECLS #else -typedef sem_t px4_sem_t +typedef sem_t px4_sem_t; #define px4_sem_init _GLOBAL sem_init #define px4_sem_wait _GLOBAL sem_wait @@ -79,8 +79,6 @@ typedef sem_t px4_sem_t #define px4_sem_getvalue _GLOBAL sem_getvalue #define px4_sem_destroy _GLOBAL sem_destroy - - #endif //###################################