diff options
author | Richard Braun <rbraun@sceen.net> | 2012-09-30 12:02:39 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-09-30 12:02:39 +0200 |
commit | faadb6f85993870572a99e0c07ee14e490b6de20 (patch) | |
tree | a5b70390ea59c6c35488cf80f4e902a86554de79 /avltree.h | |
parent | a9a2e0146f4e4c95d3a77d09bbd4962c209d5ece (diff) |
avltree: normalize names
Diffstat (limited to 'avltree.h')
-rw-r--r-- | avltree.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011 Richard Braun. + * Copyright (c) 2010, 2011, 2012 Richard Braun. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -79,7 +79,7 @@ avltree_init(struct avltree *tree) static inline void avltree_node_init(struct avltree_node *node) { - assert(avltree_check_alignment(node)); + assert(avltree_node_check_alignment(node)); node->parent = (unsigned long)node | AVLTREE_BALANCE_ZERO; node->children[AVLTREE_LEFT] = NULL; @@ -92,7 +92,7 @@ avltree_node_init(struct avltree_node *node) static inline int avltree_node_unlinked(const struct avltree_node *node) { - return avltree_parent(node) == node; + return avltree_node_parent(node) == node; } /* |