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, 3 insertions, 3 deletions
diff --git a/src/util/time.c b/src/util/time.c
index 6b1b43062..19f3e488f 100644
--- a/src/util/time.c
+++ b/src/util/time.c
@@ -50,7 +50,7 @@ GNUNET_TIME_set_offset (long long offset)
50 * 50 *
51 * @return the offset we currently skew the locale time by 51 * @return the offset we currently skew the locale time by
52 */ 52 */
53long long 53long long
54GNUNET_TIME_get_offset () 54GNUNET_TIME_get_offset ()
55{ 55{
56 return timestamp_offset; 56 return timestamp_offset;
@@ -579,10 +579,10 @@ GNUNET_TIME_get_current_year ()
579/** 579/**
580 * Convert an expiration time to the respective year (rounds) 580 * Convert an expiration time to the respective year (rounds)
581 * 581 *
582 * @param at absolute time 582 * @param at absolute time
583 * @return year a year (after 1970), 0 on error 583 * @return year a year (after 1970), 0 on error
584 */ 584 */
585unsigned int 585unsigned int
586GNUNET_TIME_time_to_year (struct GNUNET_TIME_Absolute at) 586GNUNET_TIME_time_to_year (struct GNUNET_TIME_Absolute at)
587{ 587{
588 struct tm *t; 588 struct tm *t;