]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
ccanlint: only compile _info once; speeds tdb test from 18 to 16 seconds.
[ccan] / tools / ccanlint / ccanlint.h
index c4ae191f835d923d3b9e384abbb7e82e4e74d10e..e019c139d1a1f59deee3bc36000029cc98f5e2d8 100644 (file)
@@ -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). */