aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_time_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r--src/include/gnunet_time_lib.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h
index be35ff131..ffae1ce51 100644
--- a/src/include/gnunet_time_lib.h
+++ b/src/include/gnunet_time_lib.h
@@ -199,8 +199,7 @@ struct GNUNET_TIME_Absolute GNUNET_TIME_relative_to_absolute (struct
199 * @return timestamp that is smaller 199 * @return timestamp that is smaller
200 */ 200 */
201struct GNUNET_TIME_Relative GNUNET_TIME_relative_min (struct 201struct GNUNET_TIME_Relative GNUNET_TIME_relative_min (struct
202 GNUNET_TIME_Relative 202 GNUNET_TIME_Relative t1,
203 t1,
204 struct 203 struct
205 GNUNET_TIME_Relative t2); 204 GNUNET_TIME_Relative t2);
206 205
@@ -213,8 +212,7 @@ struct GNUNET_TIME_Relative GNUNET_TIME_relative_min (struct
213 * @return timestamp that is larger 212 * @return timestamp that is larger
214 */ 213 */
215struct GNUNET_TIME_Relative GNUNET_TIME_relative_max (struct 214struct GNUNET_TIME_Relative GNUNET_TIME_relative_max (struct
216 GNUNET_TIME_Relative 215 GNUNET_TIME_Relative t1,
217 t1,
218 struct 216 struct
219 GNUNET_TIME_Relative t2); 217 GNUNET_TIME_Relative t2);
220 218
@@ -226,8 +224,7 @@ struct GNUNET_TIME_Relative GNUNET_TIME_relative_max (struct
226 * @return timestamp that is smaller 224 * @return timestamp that is smaller
227 */ 225 */
228struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_min (struct 226struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_min (struct
229 GNUNET_TIME_Absolute 227 GNUNET_TIME_Absolute t1,
230 t1,
231 struct 228 struct
232 GNUNET_TIME_Absolute t2); 229 GNUNET_TIME_Absolute t2);
233 230
@@ -239,8 +236,7 @@ struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_min (struct
239 * @return timestamp that is smaller 236 * @return timestamp that is smaller
240 */ 237 */
241struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_max (struct 238struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_max (struct
242 GNUNET_TIME_Absolute 239 GNUNET_TIME_Absolute t1,
243 t1,
244 struct 240 struct
245 GNUNET_TIME_Absolute t2); 241 GNUNET_TIME_Absolute t2);
246 242
@@ -374,9 +370,12 @@ struct GNUNET_TIME_Relative GNUNET_TIME_relative_add (struct
374 * @param a2 second timestamp 370 * @param a2 second timestamp
375 * @return ZERO if a2>=a1 (including both FOREVER), FOREVER if a1 is FOREVER, a1-a2 otherwise 371 * @return ZERO if a2>=a1 (including both FOREVER), FOREVER if a1 is FOREVER, a1-a2 otherwise
376 */ 372 */
377struct GNUNET_TIME_Relative 373struct GNUNET_TIME_Relative GNUNET_TIME_relative_subtract (struct
378GNUNET_TIME_relative_subtract (struct GNUNET_TIME_Relative a1, 374 GNUNET_TIME_Relative
379 struct GNUNET_TIME_Relative a2); 375 a1,
376 struct
377 GNUNET_TIME_Relative
378 a2);
380 379
381 380
382/** 381/**