bt, abt: Add initialization and iteration macros.
[pspp] / src / libpspp / tower.c
index c7c36ab16de922ca8771de967c66dc76f1c0674b..39f9d23ce7a36d51fc959c218b0153fc5b83008f 100644 (file)
@@ -294,7 +294,7 @@ tower_prev (const struct tower *t, const struct tower_node *node)
 static struct tower_node *
 abt_to_tower_node (const struct abt_node *abt_node)
 {
-  return abt_data (abt_node, struct tower_node, abt_node);
+  return ABT_DATA (abt_node, struct tower_node, abt_node);
 }
 
 /* Returns the tower node corresponding to the given ABT_NODE. */