Turn this into global constant
This commit is contained in:
parent
443d2eda8e
commit
5668a1da78
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue