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:
Dirk Brandewie 2015-04-20 13:22:35 -07:00 committed by Anas Nashif
commit ff5062675a

View file

@ -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)