[include/rtthread.h] Add function declarations to avoid compilation warnings.

This commit is contained in:
balanceTWK 2022-01-03 22:30:45 +08:00
parent 09c089d511
commit 2babae231f
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ rt_err_t rt_mb_send(rt_mailbox_t mb, rt_ubase_t value);
rt_err_t rt_mb_send_wait(rt_mailbox_t mb,
rt_ubase_t value,
rt_int32_t timeout);
rt_err_t rt_mb_urgent(rt_mailbox_t mb, rt_ubase_t value);
rt_err_t rt_mb_recv(rt_mailbox_t mb, rt_ubase_t *value, rt_int32_t timeout);
rt_err_t rt_mb_control(rt_mailbox_t mb, int cmd, void *arg);
#endif