Retro68/gcc/newlib/libc/syscalls/sysgettod.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

14 lines
265 B
C

/* connector for gettimeofday */
#include <reent.h>
#include <sys/types.h>
#include <sys/time.h>
int
_DEFUN (gettimeofday, (ptimeval, ptimezone),
struct timeval *ptimeval _AND
void *ptimezone)
{
return _gettimeofday_r (_REENT, ptimeval, ptimezone);
}