summaryrefslogtreecommitdiff
path: root/kern/rdxtree_i.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-07-05 20:18:32 +0200
committerRichard Braun <rbraun@sceen.net>2013-07-05 20:18:32 +0200
commit5786497e2ce8e4e13d33307322697534bb2d3224 (patch)
tree09d318c97d8a249f1f958a444154abb88d05d862 /kern/rdxtree_i.h
parentdd3d7364f1fa374393d89414caa7a81485e145d9 (diff)
kern/rdxtree: specify tree as const when looking up
Diffstat (limited to 'kern/rdxtree_i.h')
-rw-r--r--kern/rdxtree_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/rdxtree_i.h b/kern/rdxtree_i.h
index bf4fc7b..8210841 100644
--- a/kern/rdxtree_i.h
+++ b/kern/rdxtree_i.h
@@ -50,7 +50,7 @@ int rdxtree_insert_common(struct rdxtree *tree, unsigned long long key,
int rdxtree_insert_alloc_common(struct rdxtree *tree, void *ptr,
unsigned long long *keyp, void ***slotp);
-void * rdxtree_lookup_common(struct rdxtree *tree, unsigned long long key,
+void * rdxtree_lookup_common(const struct rdxtree *tree, unsigned long long key,
int get_slot);
/*