Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/m68k/bdm-time.c')
-rw-r--r--libgloss/m68k/bdm-time.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libgloss/m68k/bdm-time.c b/libgloss/m68k/bdm-time.c
deleted file mode 100644
index 02fbfabbe..000000000
--- a/libgloss/m68k/bdm-time.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <sys/time.h>
-
-/*
- * time -- get the current time
- * input parameters:
- * 0 : timeval ptr
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-time_t time (time_t *t)
-{
- struct timeval tv;
-
- if (gettimeofday (&tv, NULL))
- return -1;
- if (t)
- *t = tv.tv_sec;
- return tv.tv_sec;
-}