summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/tfind.c
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-03 06:33:33 +0000
committermike <mike@FreeBSD.org>2002-10-03 06:33:33 +0000
commit00edc47a87e6774d2cede63804f6f34ef87b4540 (patch)
treeadee14bae63f855c7b3739f3a04f94c7e81551a7 /lib/libc/stdlib/tfind.c
parent607bcfa63afdf8a99d2232f78123af8c1819c962 (diff)
downloadFreeBSD-src-00edc47a87e6774d2cede63804f6f34ef87b4540.zip
FreeBSD-src-00edc47a87e6774d2cede63804f6f34ef87b4540.tar.gz
Add missing const qualifier in tfind().
Diffstat (limited to 'lib/libc/stdlib/tfind.c')
-rw-r--r--lib/libc/stdlib/tfind.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud