X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=8b6e81f75247f3cbcf0547e7b65de0ed509238a2;hb=0248fa2c84bdf4b5117d2672a68d89505aacae8f;hp=954bb30a0b9d06782bdd1c3ecc817666c21b1673;hpb=e2a53df3e1f5912c872f1906912053354d0d0c63;p=ccan diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 954bb30a..8b6e81f7 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -2,11 +2,13 @@ #define CCAN_LINT_H #include "config.h" #include +#include #include #include #include #include "../doc_extract.h" #include "../manifest.h" +#include "../tools.h" #include "licenses.h" AUTODATA_TYPE(ccanlint_tests, struct ccanlint); @@ -55,7 +57,7 @@ struct ccanlint { bool compulsory; /* If timeleft is set to 0, means it timed out. - * score is the result, and a talloc context freed after all our + * score is the result, and a tal context freed after all our * depends are done. */ void (*check)(struct manifest *m, unsigned int *timeleft, struct score *score); @@ -137,7 +139,7 @@ enum line_compiled get_ccan_line_pp(struct pp_conditions *cond, /* Get token if it's equal to token. */ bool get_token(const char **line, const char *token); -/* Talloc copy of symbol token, or NULL. Increment line. */ +/* Tal copy of symbol token, or NULL. Increment line. */ char *get_symbol_token(void *ctx, const char **line); /* Similarly for ->doc_sections */ @@ -188,9 +190,6 @@ extern bool safe_mode; /* Did the user want to keep all the results? */ extern bool keep_results; -/* Compiler and CFLAGS, from config.h if available. */ -extern const char *compiler, *cflags; - /* Contents of config.h (or NULL if not found) */ extern const char *config_header;