]> git.ozlabs.org Git - ccan/blobdiff - ccan/ccan_tokenizer/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / ccan_tokenizer / _info
index 754b3cf680f4cc412b3d1adf36112ba557cf8fbc..aef90fb91065e94097084718df66b782bc685b91 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <string.h>
 #include <stdio.h>
-#include "config.h"
 
 /**
  * ccan_tokenizer - A full-text lexer for C source files
@@ -64,7 +64,7 @@
  *             err(1, "Could not read file %s", argv[1]);
  *
  *     //tokenize the contents
- *     tl = tokenize(file, len, &mq);
+ *     tl = tokenize(file, file, len, &mq);
  *
  *     //print warnings, errors, etc.
  *     while (queue_count(mq)) {
  *
  *     return 0;
  * }
+ *
+ * License: BSD (3 clause)
+ *
+ * Ccanlint:
+ *     // We actually depend on the LGPL dependencies
+ *     license_depends_compat FAIL
+ *     // We don't put the license line in all files.
+ *     license_comment FAIL
  */
 int main(int argc, char *argv[])
 {
@@ -89,7 +97,8 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
-               printf("ccan/array\n");
+               printf("ccan/darray\n");
+               printf("ccan/talloc\n");
                return 0;
        }