]> git.ozlabs.org Git - ccan/blobdiff - tools/doc_extract.h
tdb2: Hand error code to logging function.
[ccan] / tools / doc_extract.h
index 5dca49bac8e7e5956bc975f756b82e9ec3fb926d..1f4650a12bfcbc14a5efda0c7ecbf01d2a0df8a9 100644 (file)
@@ -7,9 +7,11 @@ struct doc_section {
        struct list_node list;
        const char *function;
        const char *type;
+       /* Where did I come from? */
+       unsigned int srcline;
        unsigned int num_lines;
        char **lines;
 };
 
-struct list_head *extract_doc_sections(char **rawlines, unsigned int num);
+struct list_head *extract_doc_sections(char **rawlines);
 #endif /* _DOC_EXTRACT_CORE_H */