]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/_info
tal: remove ccan/talloc from example.
[ccan] / ccan / tal / _info
index 853c69851ad5b9d7af8cdf3fd91d77304fc40248..5285c1632b403121a5e499efae30ab7eb7d561ef 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * tal - compact tree allocator routines (inspired by talloc)
@@ -29,7 +29,7 @@
  * Example:
  *     #include <stdio.h>
  *     #include <err.h>
- *     #include <ccan/talloc/talloc.h>
+ *     #include <ccan/tal/tal.h>
  *
  *     // A structure containing a popened command.
  *     struct command {
@@ -94,6 +94,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/alignof\n");
                printf("ccan/compiler\n");
                printf("ccan/likely\n");
                printf("ccan/list\n");