X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fbinheap-node.h;h=44be9f4e656ab297cf4f8de8b3a9838cdff5f37b;hb=e34560a76a7af3fb428604e4da3cd14cfd1bf454;hp=da03a800de33412b4d4aa1efc30933f063a88596;hpb=1aa5b092dce1eabfc4ac2460abf9454341bc79f1;p=libucw.git diff --git a/lib/binheap-node.h b/lib/binheap-node.h index da03a800..44be9f4e 100644 --- a/lib/binheap-node.h +++ b/lib/binheap-node.h @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Binomial Heaps: Declarations + * UCW Library -- Binomial Heaps: Declarations * * (c) 2003 Martin Mares * @@ -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; };