aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/time.c')
-rw-r--r--src/util/time.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/time.c b/src/util/time.c
index 5b4833511..a07801922 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -342,6 +342,7 @@ GNUNET_TIME_absolute_get_remaining (struct GNUNET_TIME_Absolute future)
342 return ret; 342 return ret;
343} 343}
344 344
345
345/** 346/**
346 * Compute the time difference between the given start and end times. 347 * Compute the time difference between the given start and end times.
347 * Use this function instead of actual subtraction to ensure that 348 * Use this function instead of actual subtraction to ensure that
@@ -363,6 +364,7 @@ GNUNET_TIME_absolute_get_difference (struct GNUNET_TIME_Absolute start,
363 return ret; 364 return ret;
364} 365}
365 366
367
366/** 368/**
367 * Get the duration of an operation as the 369 * Get the duration of an operation as the
368 * difference of the current time and the given start time "whence". 370 * difference of the current time and the given start time "whence".
@@ -926,9 +928,11 @@ GNUNET_TIME_absolute_get_monotonic (
926/** 928/**
927 * Destructor 929 * Destructor
928 */ 930 */
929void __attribute__ ((destructor)) GNUNET_util_time_fini () 931void __attribute__ ((destructor))
932GNUNET_util_time_fini ()
930{ 933{
931 (void) GNUNET_TIME_absolute_get_monotonic (NULL); 934 (void) GNUNET_TIME_absolute_get_monotonic (NULL);
932} 935}
933 936
937
934/* end of time.c */ 938/* end of time.c */