From 62ff77d4932bb81f5acaf8092cbb97e68de2a9ba Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Thu, 22 Jul 2021 00:35:08 +0800 Subject: [libc][time] 重命名非标准libc函数 并 调整time.h定义位置 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/pthreads/mqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/libc/pthreads/mqueue.c') diff --git a/components/libc/pthreads/mqueue.c b/components/libc/pthreads/mqueue.c index 1af0ab2919..ce2ff43e23 100644 --- a/components/libc/pthreads/mqueue.c +++ b/components/libc/pthreads/mqueue.c @@ -243,7 +243,7 @@ ssize_t mq_timedreceive(mqd_t mqdes, return -1; } - tick = clock_time_to_tick(abs_timeout); + tick = rt_timespec_to_tick(abs_timeout); result = rt_mq_recv(mqdes->mq, msg_ptr, msg_len, tick); if (result == RT_EOK) -- cgit v1.3.1