rbtree: Add const qualifier to some functions.
authorAndre Noll <maan@systemlinux.org>
Sun, 10 May 2009 19:36:18 +0000 (21:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 10 May 2009 19:36:18 +0000 (21:36 +0200)
commit12265a5acd34b2b82529ac818ab61de5a0f650b6
treed8ed6108a7e404d1082d20ceed4d28ecfd542a20
parente2359e0a52bcb16ff760c114b089b96049b368c8
rbtree: Add const qualifier to some functions.

The 'rb_first()', 'rb_last()', 'rb_next()' and 'rb_prev()' calls take a pointer
to an RB node or RB root. They do not change the pointed objects, so add a
'const' qualifier.

See commit f4b477c47332367d35686bd2b808c2156b96d7c7 in the linux source tree.
rbtree.c
rbtree.h