projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cf5108
)
aatree: add 'const' to aatree_is_nil_node()
author
Marko Kreen
<markokr@gmail.com>
Wed, 3 Mar 2010 07:03:30 +0000
(09:03 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 3 Mar 2010 07:50:28 +0000
(09:50 +0200)
usual/aatree.h
patch
|
blob
|
blame
|
history
diff --git
a/usual/aatree.h
b/usual/aatree.h
index 821a1ea6d06036a9679bd58951e718609cbc8baa..aff1a9dc664758d999df609cc6928a28d97c87b4 100644
(file)
--- a/
usual/aatree.h
+++ b/
usual/aatree.h
@@
-63,7
+63,7
@@
void aatree_walk(struct AATree *tree, enum AATreeWalkType wtype, aatree_walker_f
void aatree_destroy(struct AATree *tree);
/* aatree does not use NULL pointers */
-static inline int aatree_is_nil_node(struct AANode *node)
+static inline int aatree_is_nil_node(
const
struct AANode *node)
{
return (node->left == node);
}