forked from Archive/PX4-Autopilot
POSIX: Fix px4_sem_t typedef
This commit is contained in:
parent
78f698a642
commit
8172539856
|
@ -71,7 +71,7 @@ __END_DECLS
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
typedef sem_t px4_sem_t
|
typedef sem_t px4_sem_t;
|
||||||
|
|
||||||
#define px4_sem_init _GLOBAL sem_init
|
#define px4_sem_init _GLOBAL sem_init
|
||||||
#define px4_sem_wait _GLOBAL sem_wait
|
#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_getvalue _GLOBAL sem_getvalue
|
||||||
#define px4_sem_destroy _GLOBAL sem_destroy
|
#define px4_sem_destroy _GLOBAL sem_destroy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//###################################
|
//###################################
|
||||||
|
|
Loading…
Reference in New Issue