diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-11-06 19:54:05 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-11-06 19:54:05 -0800 |
commit | ef11aa889bf101e6b980eeece63a7e24b0354fc2 (patch) | |
tree | bf350d52142ebb42094fe1b9d838558a1bfa3776 /rbtree.h | |
parent | 674788166f240997f723751e6c77021f5cc5428f (diff) | |
download | nasm-ef11aa889bf101e6b980eeece63a7e24b0354fc2.tar.gz nasm-ef11aa889bf101e6b980eeece63a7e24b0354fc2.tar.bz2 nasm-ef11aa889bf101e6b980eeece63a7e24b0354fc2.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |