make the avl node key const

This commit is contained in:
Felix Fietkau 2011-04-13 20:14:20 +02:00
parent 89122a2c1e
commit 3041e8ce9b

2
avl.h
View file

@ -82,7 +82,7 @@ struct avl_node {
/** /**
* pointer to key of node * pointer to key of node
*/ */
void *key; const void *key;
/** /**
* balance state of AVL tree (0,-1,+1) * balance state of AVL tree (0,-1,+1)