diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/util/time.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/util/time.c')
-rw-r--r-- | src/util/time.c | 6 |
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 | */ |
929 | void __attribute__ ((destructor)) GNUNET_util_time_fini () | 931 | void __attribute__ ((destructor)) |
932 | GNUNET_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 */ |