* percolation of nodes.
*
* @param heap the heap
- * @param element element to remove
- * @return FIXME
+ * @param element the element to remove
+ * @return NULL if "element" was not found in the heap, otherwise element
*/
void *GNUNET_CONTAINER_heap_remove_node (struct GNUNET_CONTAINER_Heap *heap,
void *element);
* @return number of bytes written to the buffer
* (or number of bytes that would have been written)
*/
-unsigned int
+size_t
GNUNET_STRINGS_buffer_fill (char *buffer,
size_t size, unsigned int count, ...)
{
- unsigned int needed;
- unsigned int slen;
+ size_t needed;
+ size_t slen;
const char *s;
va_list ap;