X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Favl%2Favl.c;fp=module%2Favl%2Favl.c;h=dd39c12d215e9749d01f2a53ab4c77ff67856899;hb=428870ff734fdaccc342b33fc53cf94724409a46;hp=c9727c643b962d3953ed532e1c036a9d4b91da51;hpb=6119cb885a976e175a6e827894accf657ff1984f;p=zfs.git diff --git a/module/avl/avl.c b/module/avl/avl.c index c9727c6..dd39c12 100644 --- a/module/avl/avl.c +++ b/module/avl/avl.c @@ -19,13 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - - /* * AVL - generic AVL tree implementation for kernel use * @@ -243,7 +240,7 @@ avl_nearest(avl_tree_t *tree, avl_index_t where, int direction) * "void *" of the found tree node */ void * -avl_find(avl_tree_t *tree, void *value, avl_index_t *where) +avl_find(avl_tree_t *tree, const void *value, avl_index_t *where) { avl_node_t *node; avl_node_t *prev = NULL;