mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 15:41:31 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
24 lines
558 B
C
24 lines
558 B
C
/*
|
|
* COPYRIGHT: LGPL, See LGPL.txt in the top level directory
|
|
* PROJECT: ReactOS CRT library
|
|
* FILE: lib/sdk/crt/time/difftime.c
|
|
* PURPOSE: Implementation of difftime
|
|
* PROGRAMERS: Timo Kreuzer
|
|
*/
|
|
#include <time.h>
|
|
#include "bitsfixup.h"
|
|
|
|
/**
|
|
* \name difftime
|
|
* \brief Retrurns the difference between two time_t values in seconds.
|
|
* \param time1 Beginning time.
|
|
* \param time2 Ending time.
|
|
*/
|
|
double
|
|
difftime(
|
|
time_t time1, /**< Beginning time */
|
|
time_t time2) /**< Ending time */
|
|
{
|
|
return (double)(time1 - time2);
|
|
}
|