提交 d8ec36a9 编写于 作者: B BernardXiong

[libc] Remove wrong include file in clock_time.c

上级 9a9a0e90
......@@ -24,12 +24,11 @@
*/
#include <rtthread.h>
#include <rtdevice.h>
#include <pthread.h>
#include "clock_time.h"
struct timeval _timevalue;
static struct timeval _timevalue;
int clock_time_system_init()
{
time_t time;
......@@ -142,7 +141,7 @@ int clock_gettime(clockid_t clockid, struct timespec *tp)
tp->tv_nsec = (_timevalue.tv_usec + (tick % RT_TICK_PER_SECOND) * MICROSECOND_PER_TICK) * 1000;
}
break;
#ifdef RT_USING_CPUTIME
case CLOCK_CPUTIME_ID:
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册