summaryrefslogtreecommitdiff
path: root/navit/support/libc/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/support/libc/time.c')
-rw-r--r--navit/support/libc/time.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/navit/support/libc/time.c b/navit/support/libc/time.c
deleted file mode 100644
index b167d5e30..000000000
--- a/navit/support/libc/time.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * time.c: time implementation for WinCE.
- *
- * This file has no copyright assigned and is placed in the Public Domain.
- * This file is a part of the mingw-runtime package.
- * No warranty is given; refer to the file DISCLAIMER within the package.
- *
- * Written by Pedro Alves <pedro_alves@portugalmail.pt> Feb 2007
- *
- */
-
-#include "timeutil.h"
-
-time_t
-time (time_t *timer)
-{
- SYSTEMTIME s;
- FILETIME f;
- time_t t;
-
- if (timer == NULL)
- timer = &t;
-
- GetSystemTime (&s);
- SystemTimeToFileTime (&s, &f);
- *timer = __FILETIME_to_time_t (&f);
- return *timer;
-}