X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=e019c139d1a1f59deee3bc36000029cc98f5e2d8;hp=271fba9501892b56ff3d9321ebc83e39cdb33afc;hb=ad35219dc2e2855eb79653b824711ea3bff10dfc;hpb=4e0dfdadf206c74dc9e5f302545b2419cc4798f4 diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 271fba95..e019c139 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -5,7 +5,8 @@ #include "../doc_extract.h" #define REGISTER_TEST(name, ...) extern struct ccanlint name -#include "generated-init-tests" +#include "generated-compulsory-tests" +#include "generated-normal-tests" #undef REGISTER_TEST #define REGISTER_TEST(name, ...) @@ -41,7 +42,7 @@ struct ccanlint { /* Unique name of test */ const char *name; - /* Total score that this test is worth. 0 means compulsory tests. */ + /* Total score that this test is worth. */ unsigned int total_score; /* Can we run this test? Return string explaining why, if not. */ @@ -127,7 +128,7 @@ struct ccan_file { struct list_head *doc_sections; /* If this file gets compiled (eg. .C file to .o file), result here. */ - const char *compiled; + char *compiled; }; /* A new ccan_file, with the given name (talloc_steal onto returned value). */