libroot_debug: Merge guarded heap into libroot_debug.
[haiku.git] / src / system / libroot / posix / time / difftime.c
blob553d3031608444e07915501b76374b4fe1fd616d
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
7 #include <time.h>
8 #include <SupportDefs.h>
11 double
12 difftime(time_t time1, time_t time2)
14 return 1. * ((bigtime_t)time1 - (bigtime_t)time2);