From: Felix Fietkau Date: Wed, 13 Apr 2011 18:14:20 +0000 (+0200) Subject: make the avl node key const X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=3041e8ce9b128480317b91eb97fe64914d975a59;hp=89122a2c1e7f891c3ae2e8ed562d0df562d8a0f6;ds=sidebyside make the avl node key const --- diff --git a/avl.h b/avl.h index a563716..46a396f 100644 --- a/avl.h +++ b/avl.h @@ -82,7 +82,7 @@ struct avl_node { /** * pointer to key of node */ - void *key; + const void *key; /** * balance state of AVL tree (0,-1,+1)