make the avl node key const
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Apr 2011 18:14:20 +0000 (20:14 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 13 Apr 2011 18:14:20 +0000 (20:14 +0200)
avl.h

diff --git a/avl.h b/avl.h
index a563716..46a396f 100644 (file)
--- 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)