diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-08 16:12:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-08 16:12:48 +0000 |
commit | c95cd7a0899c5da94986c27df756e6555c5bd895 (patch) | |
tree | c746ffe8cf6af162ac2ef0fe9f72ffe36bf075ac /src/include/gnunet_time_lib.h | |
parent | 404e6ca13698dd6ceb92b71494989fb5d11ac403 (diff) | |
download | gnunet-c95cd7a0899c5da94986c27df756e6555c5bd895.tar.gz gnunet-c95cd7a0899c5da94986c27df756e6555c5bd895.zip |
-make time API more intutitive
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r-- | src/include/gnunet_time_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index b4b58f40c..c4e771eeb 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -349,7 +349,7 @@ GNUNET_TIME_absolute_get_difference (struct GNUNET_TIME_Absolute start, | |||
349 | * difference of the current time and the given start time "hence". | 349 | * difference of the current time and the given start time "hence". |
350 | * | 350 | * |
351 | * @param whence some absolute time, typically in the past | 351 | * @param whence some absolute time, typically in the past |
352 | * @return aborts if hence==FOREVER, 0 if hence > now, otherwise now-hence. | 352 | * @return 0 if hence > now, otherwise now-hence. |
353 | */ | 353 | */ |
354 | struct GNUNET_TIME_Relative | 354 | struct GNUNET_TIME_Relative |
355 | GNUNET_TIME_absolute_get_duration (struct GNUNET_TIME_Absolute whence); | 355 | GNUNET_TIME_absolute_get_duration (struct GNUNET_TIME_Absolute whence); |