Turn this into global constant

This commit is contained in:
twinaphex 2020-09-20 22:47:38 +02:00
parent 443d2eda8e
commit 5668a1da78

View File

@ -43,8 +43,7 @@ struct bintree
bintree_cmp_func cmp;
};
/* TODO/FIXME - static global variable */
static void *NIL_NODE = &NIL_NODE;
static void * const NIL_NODE = (void*)&NIL_NODE;
static struct bintree_node *bintree_new_nil_node(
struct bintree_node *parent)