diff options
Diffstat (limited to 'src/util/container_multihashmap32.c')
-rw-r--r-- | src/util/container_multihashmap32.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/util/container_multihashmap32.c b/src/util/container_multihashmap32.c index 4ddf0053b..698e08e3a 100644 --- a/src/util/container_multihashmap32.c +++ b/src/util/container_multihashmap32.c | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | 28 | ||
29 | #include "gnunet_common.h" | ||
29 | #include "platform.h" | 30 | #include "platform.h" |
30 | #include "gnunet_util_lib.h" | 31 | #include "gnunet_util_lib.h" |
31 | 32 | ||
@@ -276,7 +277,7 @@ update_next_cache (struct GNUNET_CONTAINER_MultiHashMap32 *map, | |||
276 | } | 277 | } |
277 | 278 | ||
278 | 279 | ||
279 | int | 280 | enum GNUNET_GenericReturnValue |
280 | GNUNET_CONTAINER_multihashmap32_remove ( | 281 | GNUNET_CONTAINER_multihashmap32_remove ( |
281 | struct GNUNET_CONTAINER_MultiHashMap32 *map, | 282 | struct GNUNET_CONTAINER_MultiHashMap32 *map, |
282 | uint32_t key, | 283 | uint32_t key, |
@@ -354,7 +355,7 @@ GNUNET_CONTAINER_multihashmap32_remove_all ( | |||
354 | } | 355 | } |
355 | 356 | ||
356 | 357 | ||
357 | int | 358 | enum GNUNET_GenericReturnValue |
358 | GNUNET_CONTAINER_multihashmap32_contains ( | 359 | GNUNET_CONTAINER_multihashmap32_contains ( |
359 | const struct GNUNET_CONTAINER_MultiHashMap32 *map, | 360 | const struct GNUNET_CONTAINER_MultiHashMap32 *map, |
360 | uint32_t key) | 361 | uint32_t key) |
@@ -372,7 +373,7 @@ GNUNET_CONTAINER_multihashmap32_contains ( | |||
372 | } | 373 | } |
373 | 374 | ||
374 | 375 | ||
375 | int | 376 | enum GNUNET_GenericReturnValue |
376 | GNUNET_CONTAINER_multihashmap32_contains_value ( | 377 | GNUNET_CONTAINER_multihashmap32_contains_value ( |
377 | const struct GNUNET_CONTAINER_MultiHashMap32 *map, | 378 | const struct GNUNET_CONTAINER_MultiHashMap32 *map, |
378 | uint32_t key, | 379 | uint32_t key, |
@@ -445,7 +446,7 @@ grow (struct GNUNET_CONTAINER_MultiHashMap32 *map) | |||
445 | * #GNUNET_SYSERR if UNIQUE_ONLY was the option and the | 446 | * #GNUNET_SYSERR if UNIQUE_ONLY was the option and the |
446 | * value already exists | 447 | * value already exists |
447 | */ | 448 | */ |
448 | int | 449 | enum GNUNET_GenericReturnValue |
449 | GNUNET_CONTAINER_multihashmap32_put ( | 450 | GNUNET_CONTAINER_multihashmap32_put ( |
450 | struct GNUNET_CONTAINER_MultiHashMap32 *map, | 451 | struct GNUNET_CONTAINER_MultiHashMap32 *map, |
451 | uint32_t key, | 452 | uint32_t key, |
@@ -560,7 +561,7 @@ GNUNET_CONTAINER_multihashmap32_iterator_create ( | |||
560 | * @return #GNUNET_YES we returned an element, | 561 | * @return #GNUNET_YES we returned an element, |
561 | * #GNUNET_NO if we are out of elements | 562 | * #GNUNET_NO if we are out of elements |
562 | */ | 563 | */ |
563 | int | 564 | enum GNUNET_GenericReturnValue |
564 | GNUNET_CONTAINER_multihashmap32_iterator_next ( | 565 | GNUNET_CONTAINER_multihashmap32_iterator_next ( |
565 | struct GNUNET_CONTAINER_MultiHashMap32Iterator *iter, | 566 | struct GNUNET_CONTAINER_MultiHashMap32Iterator *iter, |
566 | uint32_t *key, | 567 | uint32_t *key, |