summaryrefslogtreecommitdiff
path: root/rbtree.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-06 19:54:05 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-06 19:54:05 -0800
commitef11aa889bf101e6b980eeece63a7e24b0354fc2 (patch)
treebf350d52142ebb42094fe1b9d838558a1bfa3776 /rbtree.h
parent674788166f240997f723751e6c77021f5cc5428f (diff)
downloadnasm-ef11aa889bf101e6b980eeece63a7e24b0354fc2.tar.gz
rbtree: drop "const" from search function
Having the search argument and result be "const" is nice in theory, but causes problems in practice. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rbtree.h')
-rw-r--r--rbtree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbtree.h b/rbtree.h
index d24daf35..e6d5c824 100644
--- a/rbtree.h
+++ b/rbtree.h
@@ -14,6 +14,6 @@ struct rbtree {
};
struct rbtree *rb_insert(struct rbtree *, struct rbtree *);
-const struct rbtree *rb_search(const struct rbtree *, uint64_t);
+struct rbtree *rb_search(struct rbtree *, uint64_t);
#endif /* NASM_RBTREE_H */