]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
Make manifest code do chdir into appropriate directory.
[ccan] / tools / ccanlint / ccanlint.h
index c4ae191f835d923d3b9e384abbb7e82e4e74d10e..99b0eb7cbcc69e03e55ab2ad7a4bd9b758d9263f 100644 (file)
@@ -34,7 +34,7 @@ struct manifest {
        struct list_head dep_objs;
 };
 
-struct manifest *get_manifest(const void *ctx);
+struct manifest *get_manifest(const void *ctx, const char *dir);
 
 struct ccanlint {
        struct list_node list;
@@ -128,7 +128,7 @@ struct ccan_file {
        struct list_head *doc_sections;
 
        /* If this file gets compiled (eg. .C file to .o file), result here. */
-       const char *compiled;
+       char *compiled;
 };
 
 /* A new ccan_file, with the given name (talloc_steal onto returned value). */