X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=0c73716a714cfeafe80b0337490802dd610d73cc;hp=40cb4195ffc65263ee2ef2bbb936fa3fd9e31707;hb=1313203b72656e8480805c7688c187d274fdceeb;hpb=7bb7cd58c2d9df126dd6072e5f3bec1eb4dc916b diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 40cb4195..0c73716a 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -4,7 +4,7 @@ #include #include "../doc_extract.h" -#define REGISTER_TEST(name, ...) +#define REGISTER_TEST(name, ...) extern struct ccanlint name /* 0 == Describe failed tests. 1 == Describe results for partial failures. @@ -221,4 +221,10 @@ extern bool safe_mode; /* Where is the ccan dir? Available after first manifest. */ extern const char *ccan_dir; +/* Compiler and CFLAGS, from config.h if available. */ +extern char *compiler, *cflags; + +/* Contents of config.h (or NULL if not found) */ +extern const char *config_header; + #endif /* CCAN_LINT_H */