X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fbinheap-node.h;h=61ed5e97adc04eb4de4b457cd86c7194383af89b;hb=c79a2911da7be63aaf4abec6b3ffad36dd5bcfb1;hp=da03a800de33412b4d4aa1efc30933f063a88596;hpb=1aa5b092dce1eabfc4ac2460abf9454341bc79f1;p=libucw.git diff --git a/lib/binheap-node.h b/lib/binheap-node.h index da03a800..61ed5e97 100644 --- a/lib/binheap-node.h +++ b/lib/binheap-node.h @@ -7,16 +7,13 @@ * of the GNU Lesser General Public License. */ -#define BH_NODE struct BH_PREFIX(node) -#define BH_HEAP struct BH_PREFIX(heap) - -BH_NODE { - BH_NODE *first_son; - BH_NODE *last_son; - BH_NODE *next_sibling; +struct bh_node { + struct bh_node *first_son; + struct bh_node *last_son; + struct bh_node *next_sibling; byte order; }; -BH_HEAP { - BH_NODE root; +struct bh_heap { + struct bh_node root; };