summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/tfind.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-06-14 02:12:43 +0000
committermillert <millert@openbsd.org>1997-06-14 02:12:43 +0000
commit9a4e9f66d39b3612846d68af081fc691bb0e689c (patch)
treec5679b01137d08b57bcd771c03a70b9000f5c511 /lib/libc/stdlib/tfind.c
parentdamn, no tsearch(3) (diff)
downloadwireguard-openbsd-9a4e9f66d39b3612846d68af081fc691bb0e689c.tar.xz
wireguard-openbsd-9a4e9f66d39b3612846d68af081fc691bb0e689c.zip
Fix decl for tfind(3)
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 8e77527bf51..9e5bd4b0f25 100644
--- a/lib/libc/stdlib/tfind.c
+++ b/lib/libc/stdlib/tfind.c
@@ -21,7 +21,7 @@ typedef struct node_t
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) __P((const void *, const void *));
{
char *key = (char *)vkey;