mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
POSIX: fixes for gcc
GCC complains about strict prototypes. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -71,6 +71,7 @@ sem_t _hrt_work_lock;
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
static void hrt_work_process(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: work_process
|
||||
|
||||
@@ -46,8 +46,8 @@ void hrt_work_queue_init(void);
|
||||
int hrt_work_queue(struct work_s *work, worker_t worker, void *arg, uint32_t delay);
|
||||
void hrt_work_cancel(struct work_s *work);
|
||||
|
||||
inline void hrt_work_lock();
|
||||
inline void hrt_work_unlock();
|
||||
inline void hrt_work_lock(void);
|
||||
inline void hrt_work_unlock(void);
|
||||
|
||||
inline void hrt_work_lock()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user