diff options
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r-- | src/include/gnunet_container_lib.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 03c47c201..075c0822a 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h | |||
@@ -1915,8 +1915,8 @@ GNUNET_CONTAINER_heap_get_size (const struct GNUNET_CONTAINER_Heap *heap); | |||
1915 | * @return cost of the node | 1915 | * @return cost of the node |
1916 | */ | 1916 | */ |
1917 | GNUNET_CONTAINER_HeapCostType | 1917 | GNUNET_CONTAINER_HeapCostType |
1918 | GNUNET_CONTAINER_heap_node_get_cost (const struct GNUNET_CONTAINER_HeapNode | 1918 | GNUNET_CONTAINER_heap_node_get_cost (const struct GNUNET_CONTAINER_HeapNode *node); |
1919 | *node); | 1919 | |
1920 | 1920 | ||
1921 | /** | 1921 | /** |
1922 | * @ingroup heap | 1922 | * @ingroup heap |
@@ -2006,13 +2006,11 @@ GNUNET_CONTAINER_heap_remove_node (struct GNUNET_CONTAINER_HeapNode *node); | |||
2006 | * @ingroup heap | 2006 | * @ingroup heap |
2007 | * Updates the cost of any node in the tree | 2007 | * Updates the cost of any node in the tree |
2008 | * | 2008 | * |
2009 | * @param heap heap to modify | ||
2010 | * @param node node for which the cost is to be changed | 2009 | * @param node node for which the cost is to be changed |
2011 | * @param new_cost new cost for the node | 2010 | * @param new_cost new cost for the node |
2012 | */ | 2011 | */ |
2013 | void | 2012 | void |
2014 | GNUNET_CONTAINER_heap_update_cost (struct GNUNET_CONTAINER_Heap *heap, | 2013 | GNUNET_CONTAINER_heap_update_cost (struct GNUNET_CONTAINER_HeapNode *node, |
2015 | struct GNUNET_CONTAINER_HeapNode *node, | ||
2016 | GNUNET_CONTAINER_HeapCostType new_cost); | 2014 | GNUNET_CONTAINER_HeapCostType new_cost); |
2017 | 2015 | ||
2018 | 2016 | ||