summaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/search.h b/include/search.h
index b3b498543..fa3e5c083 100644
--- a/include/search.h
+++ b/include/search.h
@@ -67,7 +67,7 @@ typedef enum { preorder, postorder, endorder, leaf } VISIT;
extern void *tsearch __P((__const void * __key, void **__rootp,
__compar_fn_t compar));
-extern void *tfind __P((__const void * __key, __const void ** __rootp,
+extern void *tfind __P((__const void * __key, void * __const * __rootp,
__compar_fn_t compar));
extern void *tdelete __P((__const void * __key, void ** __rootp,