]> git.ozlabs.org Git - ccan/blobdiff - ccan/take/_info
take, tal, tal/path, tal/str, tal/talloc: annotate APIs with TAKES.
[ccan] / ccan / take / _info
index d013838a14916e76a34ff3353f33740cb9f33b08..c8cc4ac995789fc9f646b82b060a8c48b641ce02 100644 (file)
@@ -18,7 +18,7 @@
  *     #include <string.h>
  *
  *     // Dumb basename program and driver.
- *     static char *base(const char *file)
+ *     static char *base(const char *file TAKES)
  *     {
  *             const char *p = strrchr(file, '/');
  *             if (!p)