]> git.ozlabs.org Git - ccan/commitdiff
tal/link: remove incorrect references to talloc
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Jun 2014 01:38:56 +0000 (11:08 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Jun 2014 01:38:56 +0000 (11:08 +0930)
Showing its origins in talloc_link.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/link/link.h

index 18d598b89905bd230bdd2e331cb11807bb149cd6..1919253ca4961a53f067ec6657653436c517cf75 100644 (file)
@@ -8,8 +8,8 @@
  * tal_linkable - set up a tal object to be linkable.
  * @newobj - the newly allocated object (with a NULL parent)
  *
- * The object will be freed when @newobj is freed or the last talloc_link()
- * is talloc_delink'ed.
+ * The object will be freed when @newobj is freed or the last tal_link()
+ * is tal_delink'ed.
  *
  * Returns @newobj or NULL (if an allocation fails).
  *
@@ -25,7 +25,7 @@
 /**
  * tal_link - add a(nother) link to a linkable object.
  * @ctx - the context to link to (parent of the resulting link)
- * @obj - the object previously made linkable with talloc_linked().
+ * @obj - the object previously made linkable with tal_linked().
  *
  * If @ctx is non-NULL, the link will be a child of @ctx, and this freed
  * when @ctx is.
@@ -49,7 +49,7 @@
 /**
  * tal_delink - explicitly remove a link from a linkable object.
  * @ctx - the context to link to (parent of the resulting link)
- * @obj - the object previously made linkable with talloc_linked().
+ * @obj - the object previously made linkable with tal_linked().
  *
  * Explicitly remove a link: normally it is implied by freeing @ctx.
  * Removing the last link frees the object.  If @obj is NULL, nothing