2015-06-02 00:43:08 +00:00
|
|
|
/*
|
2015-06-02 05:06:40 +00:00
|
|
|
* Stub time-related functions for TLS time-related operations
|
|
|
|
*
|
|
|
|
* ESPTODO: Revisit these ASAP as gettimeofday() is used for entropy
|
2015-06-02 00:43:08 +00:00
|
|
|
*
|
2015-06-02 05:06:40 +00:00
|
|
|
* Part of esp-open-rtos
|
2015-06-05 01:46:25 +00:00
|
|
|
* Copyright (C) 2015 Superhouse Automation Pty Ltd
|
2015-06-02 05:06:40 +00:00
|
|
|
* BSD Licensed as described in the file LICENSE
|
2015-06-02 00:43:08 +00:00
|
|
|
*/
|
2015-06-02 05:06:40 +00:00
|
|
|
#include <time.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <stdio.h>
|
2015-06-02 00:43:08 +00:00
|
|
|
|
|
|
|
time_t time(time_t *t)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
time_t mktime(struct tm *tm)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int gettimeofday(struct timeval *tv, void *tz)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void abort(void)
|
|
|
|
{
|
|
|
|
printf("abort() was called.\r\n");
|
|
|
|
while(1) {}
|
|
|
|
}
|