summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Sdk/timefuncs.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/Sdk/timefuncs.h')
-rw-r--r--protocols/MRA/src/Sdk/timefuncs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/protocols/MRA/src/Sdk/timefuncs.h b/protocols/MRA/src/Sdk/timefuncs.h
index 8ac5a80edf..eaee4a7e80 100644
--- a/protocols/MRA/src/Sdk/timefuncs.h
+++ b/protocols/MRA/src/Sdk/timefuncs.h
@@ -51,20 +51,6 @@ typedef union {
} FT;
-static inline __time32_t __cdecl _time32(__time32_t *timeptr)
-{
- __time64_t tim;
- FT nt_time;
-
- GetSystemTimeAsFileTime(&(nt_time.ft_struct));
- tim=(__time64_t)((nt_time.ft_scalar-EPOCH_BIAS)/10000000i64);
- if (tim > (__time64_t)(_MAX__TIME32_T)) tim=(__time64_t)(-1);
- if (timeptr) *timeptr = (__time32_t)(tim);// store time if requested
-
-return(__time32_t)(tim);
-}
-
-
inline __time32_t MakeTime32FromLocalSystemTime(CONST PSYSTEMTIME pcstSystemTime)
{
__time64_t tim=0;