]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
Rename _info.c to _info: this means we can simple compile *.c.
[ccan] / tools / ccanlint / ccanlint.h
index 16a410a98aecb3b3fa864d865515854f0e7ec572..d704d58d6b9fcbd0ee484badeee4b0ba969bb764 100644 (file)
@@ -88,6 +88,11 @@ struct ccan_file {
 
        char *name;
 
+       /* Pristine version of the original file.
+        * Use get_ccan_file_lines to fill this. */
+       const char *contents;
+       size_t contents_size;
+
        /* Use get_ccan_file_lines / get_ccan_line_info to fill these. */
        unsigned int num_lines;
        char **lines;