aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/container_heap.c')
-rw-r--r--src/util/container_heap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/container_heap.c b/src/util/container_heap.c
index 77b828d31..56a002f8c 100644
--- a/src/util/container_heap.c
+++ b/src/util/container_heap.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
@@ -167,7 +168,7 @@ GNUNET_CONTAINER_heap_peek (const struct GNUNET_CONTAINER_Heap *heap)
167 * @return #GNUNET_YES if an element is returned, 168 * @return #GNUNET_YES if an element is returned,
168 * #GNUNET_NO if the heap is empty. 169 * #GNUNET_NO if the heap is empty.
169 */ 170 */
170int 171enum GNUNET_GenericReturnValue
171GNUNET_CONTAINER_heap_peek2 (const struct GNUNET_CONTAINER_Heap *heap, 172GNUNET_CONTAINER_heap_peek2 (const struct GNUNET_CONTAINER_Heap *heap,
172 void **element, 173 void **element,
173 GNUNET_CONTAINER_HeapCostType *cost) 174 GNUNET_CONTAINER_HeapCostType *cost)