Commit b0c49654 authored by 's avatar Committed by Alexandre Julliard

Added difftime function.

parent 30855917
......@@ -359,7 +359,7 @@ init CRTDLL_Init
@ cdecl cos(double) cos
@ cdecl cosh(double) cosh
@ cdecl ctime(ptr) ctime
@ stub difftime
@ cdecl difftime(long long) CRTDLL_difftime
@ cdecl div(long long) div
@ cdecl exit(long) CRTDLL_exit
@ cdecl exp(double) exp
......
......@@ -615,6 +615,17 @@ time_t __cdecl CRTDLL_time(time_t *timeptr)
}
/*********************************************************************
* difftime (CRTDLL.357)
*/
double __cdecl CRTDLL_difftime (time_t time1, time_t time2)
{
double timediff;
timediff = (double)(time1 - time2);
return timediff;
}
/*********************************************************************
* clock (CRTDLL.350)
*/
clock_t __cdecl CRTDLL_clock(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment