]> git.ozlabs.org Git - ccan/blobdiff - ccan/talloc/talloc.h
Add licences/ dir and symlinks for a bit more clarity.
[ccan] / ccan / talloc / talloc.h
index 54a702050e96d73409c8169e5ac58b11b359fc68..e4f15aeecbb1b9dde7909525da89e88c727936e9 100644 (file)
@@ -196,7 +196,7 @@ int talloc_free(const void *ptr);
  *     talloc, talloc_free
  */
 #define talloc_set_destructor(ptr, function)                                 \
-       _talloc_set_destructor((ptr), typesafe_cb(int, (function), (ptr)))
+       _talloc_set_destructor((ptr), typesafe_cb_def(int, (function), (ptr)))
 
 /**
  * talloc_zero - allocate zeroed dynamic memory for a type