skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 7427c6ee7e31ae3281af678cdb1c71c9e57867f6
parent efa25887b869b3d5c771c7457044a4e333ae9bc1
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 21 Jan 2015 00:59:22 +0000

 Bugfix: definition of avltreeb_extreme

Diffstat:
Msrc/include/skalibs/avltreen.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/skalibs/avltreen.h b/src/include/skalibs/avltreen.h @@ -73,7 +73,7 @@ extern int avltreen_delete (avltreen *, void const *) ; #define avltreeb_minnode(t) avltreeb_extremenode((t), 0) #define avltreeb_maxnode(t) avltreeb_extremenode((t), 1) -#define avltreeb_extreme(t, h, data) avlnode_extremenode(avltreeb_nodes(t), avltreeb_totalsize(t), avltreeb_root(t), h, data) +#define avltreeb_extreme(t, h, data) avlnode_extreme(avltreeb_nodes(t), avltreeb_totalsize(t), avltreeb_root(t), h, data) #define avltreeb_min(t, data) avltreeb_extreme((t), 0, data) #define avltreeb_max(t, data) avltreeb_extreme((t), 1, data)