talloc:guide: fix documented signature of talloc_unlink().
authorMichael Adam <obnox@samba.org>
Fri, 12 Jun 2015 08:23:41 +0000 (10:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:19 +0000 (17:08 +0200)
The second argument is void *, not const void *.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/talloc/talloc_guide.txt

index 95f7f295e8c8a81b8e0bb44076d1a2ef4b552311..aba285e72dfc1b080d891b1a68c8a33d28edff18 100644 (file)
@@ -195,7 +195,7 @@ For more control on which parent to remove, see talloc_unlink()
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-int talloc_unlink(const void *context, const void *ptr);
+int talloc_unlink(const void *context, void *ptr);
 
 The talloc_unlink() function removes a specific parent from ptr. The
 context passed must either be a context used in talloc_reference()