X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Favl%2Finclude%2Fsys%2Favl.h;h=ba305c9082392ee7b970b2032704c8ea4a74df9c;hb=428870ff734fdaccc342b33fc53cf94724409a46;hp=02263a5a0cf141c1614a33f27696c338e1e5acec;hpb=6119cb885a976e175a6e827894accf657ff1984f;p=zfs.git diff --git a/module/avl/include/sys/avl.h b/module/avl/include/sys/avl.h index 02263a5..ba305c9 100644 --- a/module/avl/include/sys/avl.h +++ b/module/avl/include/sys/avl.h @@ -19,15 +19,13 @@ * 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. */ #ifndef _AVL_H #define _AVL_H -#pragma ident "%Z%%M% %I% %E% SMI" - /* * This is a private header file. Applications should not directly include * this file. @@ -163,7 +161,7 @@ extern void avl_create(avl_tree_t *tree, * node - node that has the value being looked for * where - position for use with avl_nearest() or avl_insert(), may be NULL */ -extern void *avl_find(avl_tree_t *tree, void *node, avl_index_t *where); +extern void *avl_find(avl_tree_t *tree, const void *node, avl_index_t *where); /* * Insert a node into the tree.