]> git.ozlabs.org Git - ccan/blobdiff - ccan/take/_info
crypto/shachain/tools: update to new rbuf API.
[ccan] / ccan / take / _info
index fcb4f318a36ad77fdf1e7e8440de463b4f2d51cf..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) 
@@ -53,6 +53,7 @@ int main(int argc, char *argv[])
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/likely\n");
+               printf("ccan/str\n");
                return 0;
        }