mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
include/threads.h: return values should be integer type to prevent compiler warnings
This commit is contained in:
parent
00aa822546
commit
d8483a24e8
1 changed files with 5 additions and 5 deletions
|
@ -38,11 +38,11 @@
|
|||
|
||||
/* Indicates thread error status */
|
||||
|
||||
#define thrd_success ((FAR void *)OK)
|
||||
#define thrd_timedout ((FAR void *)ETIMEDOUT)
|
||||
#define thrd_busy ((FAR void *)EBUSY)
|
||||
#define thrd_nomem ((FAR void *)ENOMEM)
|
||||
#define thrd_error ((FAR void *)ERROR)
|
||||
#define thrd_success (OK)
|
||||
#define thrd_timedout (ETIMEDOUT)
|
||||
#define thrd_busy (EBUSY)
|
||||
#define thrd_nomem (ENOMEM)
|
||||
#define thrd_error (ERROR)
|
||||
|
||||
/* Defines the type of a mutex */
|
||||
|
||||
|
|
Loading…
Reference in a new issue