diff -r f4faa7f73cb8 -r a939872c284d src/cx/tree.h --- a/src/cx/tree.h Wed Feb 14 21:43:32 2024 +0100 +++ b/src/cx/tree.h Wed Feb 14 22:12:35 2024 +0100 @@ -108,7 +108,7 @@ * 1 if one of the children might contain the data, * -1 if neither the node, nor the children contains the data */ -int (*cx_tree_search_func)(void const *node, void const* data); +typedef int (*cx_tree_search_func)(void const *node, void const* data); #ifdef __cplusplus } // extern "C"