X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=lib%2Fjsw%2Fjsw_atree.h;h=7274ba016f7f7e11dbf2e6db990ab6d6ea423e13;hp=f0fe7d9562719f9a2d6fe7ea9fcd2e7153780ee1;hb=219c3e5d0c097282ac2546ebc0f1c31c9e60fa43;hpb=090abacfef5458a521c154ba735f5b84cea3724d diff --git a/lib/jsw/jsw_atree.h b/lib/jsw/jsw_atree.h index f0fe7d9..7274ba0 100644 --- a/lib/jsw/jsw_atree.h +++ b/lib/jsw/jsw_atree.h @@ -35,9 +35,9 @@ typedef void (*rel_f) ( void *p ); /* Andersson tree functions */ jsw_atree_t *jsw_anew ( - int (cmp)(const void *, const void *), + int (*cmp)(const void *, const void *), void *(dup)(void *), - void (rel)(void *) + void (*rel)(void *) ); void jsw_adelete ( jsw_atree_t *tree ); void *jsw_afind ( jsw_atree_t *tree, void *data );