1 /*
2  * Copyright (c) 2019, Intel Corporation.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/toolchain.h>
8 #include <stdio.h>
9 #include <stddef.h>
10 #include <unistd.h>
11 #include <sys/stat.h>
12 
13 #include <reent.h>
14 
_gettimeofday_r(struct _reent * r,struct timeval * __tp,void * __tzp)15 int __weak _gettimeofday_r(struct _reent *r, struct timeval *__tp, void *__tzp)
16 {
17 	ARG_UNUSED(r);
18 	ARG_UNUSED(__tp);
19 	ARG_UNUSED(__tzp);
20 
21 	return -1;
22 }
23