[PATCH 21/24] tsearch.3: Fix prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The rootp argument to tfind is void *const void*, not const void **.

Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---
 man3/tsearch.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/tsearch.3 b/man3/tsearch.3
index 83eceae..618fb54 100644
--- a/man3/tsearch.3
+++ b/man3/tsearch.3
@@ -32,7 +32,7 @@ tsearch, tfind, tdelete, twalk, tdestroy \- manage a binary tree
 .BI "void *tsearch(const void *" key ", void **" rootp ,
 .BI "                int (*" compar ")(const void *, const void *));"
 .sp
-.BI "void *tfind(const void *" key ", const void **" rootp ,
+.BI "void *tfind(const void *" key ", void *const *" rootp ,
 .BI "                int (*" compar ")(const void *, const void *));"
 .sp
 .BI "void *tdelete(const void *" key ", void **" rootp ,
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux