From 00edc47a87e6774d2cede63804f6f34ef87b4540 Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 3 Oct 2002 06:33:33 +0000 Subject: Add missing const qualifier in tfind(). --- lib/libc/stdlib/tfind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdlib/tfind.c') diff --git a/lib/libc/stdlib/tfind.c b/lib/libc/stdlib/tfind.c index 18e0a30..680ff32 100644 --- a/lib/libc/stdlib/tfind.c +++ b/lib/libc/stdlib/tfind.c @@ -28,7 +28,7 @@ __FBSDID("$FreeBSD$"); void * tfind(vkey, vrootp, compar) const void *vkey; /* key to be found */ - void **vrootp; /* address of the tree root */ + void * const *vrootp; /* address of the tree root */ int (*compar)(const void *, const void *); { node_t **rootp = (node_t **)vrootp; -- cgit v1.1