ccan: Correct some poor conventions in _info includes
[ccan] / ccan / idtree / _info
index 058b32b48a2d49033b745c268a5ee0cf52036be5..cc0c09e68d7b843566f792b455a870e3b495225e 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * idtree - id allocation tree
@@ -14,7 +14,7 @@
  *
  * Example:
  *     #include <ccan/idtree/idtree.h>
- *     #include <ccan/talloc/talloc.h>
+ *     #include <ccan/tal/tal.h>
  *     #include <stdlib.h>
  *     #include <stdio.h>
  *
  *                            argv[i], idtree_add(idtree, argv[i], -1));
  *             }
  *             for (i = 0; i < argc; i++) {
- *                     printf("id %i -> '%s'\n", i, idtree_lookup(idtree, i));
+ *                     printf("id %i -> '%s'\n",
+ *                            i, (char *)idtree_lookup(idtree, i));
  *             }
  *             return 0;
  *     }
  *
- * Licence: GPL (2 or any later version)
+ * License: GPL (v2 or any later version)
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Jim Houston <jim.houston@ccur.com>
  */
@@ -45,7 +46,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
-               printf("ccan/talloc\n");
+               printf("ccan/tal\n");
                return 0;
        }