summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/rdos/gettod.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/rdos/gettod.c')
-rw-r--r--newlib/libc/sys/rdos/gettod.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/sys/rdos/gettod.c b/newlib/libc/sys/rdos/gettod.c
new file mode 100644
index 000000000..b1801502d
--- /dev/null
+++ b/newlib/libc/sys/rdos/gettod.c
@@ -0,0 +1,15 @@
+#include "config.h"
+#include <_ansi.h>
+#include <_syslist.h>
+#include <sys/time.h>
+#include <sys/times.h>
+#include <errno.h>
+
+struct timeval;
+struct timezone;
+
+int gettimeofday(struct timeval *ptimeval, struct timezone *ptimezone)
+{
+ errno = ENOSYS;
+ return -1;
+}