platforms/posix: cleanup macos legacy

This commit is contained in:
Daniel Agar
2022-09-01 21:04:14 -04:00
parent b09329f287
commit 9d1aeb6aa7
3 changed files with 5 additions and 57 deletions
@@ -5,10 +5,6 @@
#include <time.h>
#include <pthread.h>
#if defined(__PX4_APPLE_LEGACY)
#define clockid_t int
#endif
#if defined(__PX4_POSIX) || defined(__PX4_QURT)
__BEGIN_DECLS
__EXPORT int px4_clock_gettime(clockid_t clk_id, struct timespec *tp);