[libc] Remove wrong include file in clock_time.c

This commit is contained in:
BernardXiong 2018-01-02 15:35:13 +08:00
parent 9a9a0e9082
commit d8ec36a964
1 changed files with 2 additions and 3 deletions

View File

@ -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:
{