From 2216141ff8a204c8b41293a19e9ce86308b0424f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 12 Jun 2015 10:23:41 +0200 Subject: [PATCH] talloc:guide: fix documented signature of talloc_unlink(). The second argument is void *, not const void *. Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- lib/talloc/talloc_guide.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/talloc/talloc_guide.txt b/lib/talloc/talloc_guide.txt index 95f7f295e8c..aba285e72df 100644 --- a/lib/talloc/talloc_guide.txt +++ b/lib/talloc/talloc_guide.txt @@ -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() -- 2.11.4.GIT