X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=blobdiff_plain;f=osl.c;h=c92412fbce765444c7a0d713cdeeffca35d824c1;hp=9e6de44f9b6192a465b172567737524dbef76f67;hb=5498b872d9e28af6210b957c2336be65b1900522;hpb=b33b9e0c1202274b8ac49eaa97831f58dbb71970 diff --git a/osl.c b/osl.c index 9e6de44..c92412f 100644 --- a/osl.c +++ b/osl.c @@ -771,6 +771,10 @@ int get_mapped_object(const struct osl_table *t, unsigned col_num, return 1; } +/* + * It's OK to call this with result = rb_node = NULL. If result is not NULL, + * and rb key was not found, result points to the parent node. + */ static int search_rbtree(const struct osl_object *obj, const struct osl_table *t, unsigned col_num, struct rb_node **result, struct rb_node ***rb_link)