mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-17 12:01:53 +08:00
6783860a2e
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
27 lines
410 B
C
27 lines
410 B
C
/*
|
|
* Stub version of gettimeofday.
|
|
*/
|
|
|
|
#include "config.h"
|
|
#include <_ansi.h>
|
|
#include <_syslist.h>
|
|
#include <sys/time.h>
|
|
#include <sys/times.h>
|
|
#include <errno.h>
|
|
#undef errno
|
|
extern int errno;
|
|
#include "warning.h"
|
|
|
|
struct timeval;
|
|
|
|
int
|
|
_DEFUN (_gettimeofday, (ptimeval, ptimezone),
|
|
struct timeval *ptimeval,
|
|
void *ptimezone)
|
|
{
|
|
errno = ENOSYS;
|
|
return -1;
|
|
}
|
|
|
|
stub_warning(_gettimeofday)
|