Skip to content
Snippets Groups Projects
Commit 325e063f authored by Mark Charlebois's avatar Mark Charlebois
Browse files

POSIX: fixes for gcc


GCC complains about strict prototypes.

Signed-off-by: default avatarMark Charlebois <charlebm@gmail.com>
parent af459546
No related branches found
No related tags found
No related merge requests found
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment