Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/avl.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-13 22:14:20 +0400
committerFelix Fietkau <nbd@openwrt.org>2011-04-13 22:14:20 +0400
commit3041e8ce9b128480317b91eb97fe64914d975a59 (patch)
tree16cdb9435ae7afb96f870c4dc2552ac7390690a2 /avl.h
parent89122a2c1e7f891c3ae2e8ed562d0df562d8a0f6 (diff)
make the avl node key const
Diffstat (limited to 'avl.h')
-rw-r--r--avl.h2
1 files changed, 1 insertions, 1 deletions
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)