aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysmec/gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysmec/gettime.c')
-rw-r--r--newlib/libc/sys/sysmec/gettime.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/newlib/libc/sys/sysmec/gettime.c b/newlib/libc/sys/sysmec/gettime.c
deleted file mode 100644
index 69250b12c..000000000
--- a/newlib/libc/sys/sysmec/gettime.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-#include "sys/time.h"
-
-int errno;
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}