X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fccanlint%2Fccanlint.h;h=33db1257eb126bbf9f59299175af05f13c5edaf6;hb=104125b2dd0a044fb3d68f9bc3b1b18c9f32ae2b;hp=40cb4195ffc65263ee2ef2bbb936fa3fd9e31707;hpb=7bb7cd58c2d9df126dd6072e5f3bec1eb4dc916b;p=ccan diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 40cb4195..33db1257 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 const char *compiler, *cflags; + +/* Contents of config.h (or NULL if not found) */ +extern const char *config_header; + #endif /* CCAN_LINT_H */