mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
04e4752943
* libc/include/sys/time.h(gettimeofday): Change prototype so 2nd parameter is void *, matching SUSV2. * libc/syscalls/sysgettod.c(gettimeofday): Ditto.
14 lines
265 B
C
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);
|
|
}
|