Add argument names to _task_mutex_{lock/unlock}
Needed to quite compiler warning which is turned into an error by -Werror Change-Id: I1f84af332e516edbeaa5e1836653c21935ca7924 Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1a159cb3f5
commit
ff5062675a
1 changed files with 4 additions and 2 deletions
|
@ -37,8 +37,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int _task_mutex_lock(kmutex_t, int32_t);
|
||||
extern void _task_mutex_unlock(kmutex_t);
|
||||
#include <microkernel/k_types.h>
|
||||
|
||||
extern int _task_mutex_lock(kmutex_t mutex, int32_t time);
|
||||
extern void _task_mutex_unlock(kmutex_t mutex);
|
||||
|
||||
#define task_mutex_lock(m) _task_mutex_lock(m, TICKS_NONE)
|
||||
#define task_mutex_lock_wait(m) _task_mutex_lock(m, TICKS_UNLIMITED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue