]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/_info
alloc: avoid arithmetic on void pointers.
[ccan] / ccan / alloc / _info
index bd303bd5d35b69817677c59b8d29f96599cf74ed..6b0fef928a67f8066c42a06c812b5beda14535dd 100644 (file)
@@ -23,6 +23,7 @@
  *     #include <sys/stat.h>
  *     #include <fcntl.h>
  *     #include <string.h>
+ *     #include <stdlib.h>
  *     #include <ccan/alloc/alloc.h>
  *
  *     static void usage(const char *name)
@@ -92,7 +93,7 @@
  *             return 0;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
@@ -103,6 +104,8 @@ int main(int argc, char *argv[])
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/alignof\n");
                printf("ccan/build_assert\n");
+               printf("ccan/compiler\n");
+               printf("ccan/ilog\n");
                printf("ccan/likely\n");
                printf("ccan/short_types\n");
                return 0;