]> arthur.barton.de Git - netdata.git/blobdiff - src/avl.h
fixed minor issues throughout the code (mainly types); dashboard has now a watermark...
[netdata.git] / src / avl.h
index 888eed19298a4f489c79477bc1730ec6310285f3..cbcc412117eb3a8640a9149c71f64d707212d224 100755 (executable)
--- a/src/avl.h
+++ b/src/avl.h
  * Released under GNU General Public License (GPL) version 2
  *
  */
-#include <pthread.h>
-
 #ifndef _AVL_H
 #define _AVL_H 1
 
+#include <pthread.h>
+
 // #define AVL_LOCK_WITH_MUTEX 1
 
 /* Data structures */
@@ -65,13 +65,13 @@ int avl_removeroot(avl_tree* t);
  * returns the last value returned by iterator or 0 if there were no calls
  * Warning: a<=b must hold
  */
-int avl_range(avl_tree* t, avl* a, avl* b, int (*iter)(avl* a), avl** ret);
+int avl_range(avl_tree* t, avl* a, avl* b, int (*iter)(avl*), avl** ret);
 
 /* Iterate through elements in t equal to a
  * for each element calls iter(a) until it returns 0
  * returns the last value returned by iterator or 0 if there were no calls
  */
-int avl_search(avl_tree* t, avl* a, int (*iter)(avl* a), avl** ret);
+int avl_search(avl_tree* t, avl* a, int (*iter)(avl*), avl** ret);
 
 /* Initialize the avl_tree
  */