X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fmain_header_exists.c;h=2af9afc00892a7561fdf92f6b514f777ef78c0b5;hb=09d5cd70d7e8105a003ed9583eadb077de014f3b;hp=cdb01149d97f245a86262e0d7094b3568fe8adc2;hpb=10e5e329a1a8804ff6461e1724071364cf6be572;p=ccan diff --git a/tools/ccanlint/tests/main_header_exists.c b/tools/ccanlint/tests/main_header_exists.c index cdb01149..2af9afc0 100644 --- a/tools/ccanlint/tests/main_header_exists.c +++ b/tools/ccanlint/tests/main_header_exists.c @@ -1,4 +1,6 @@ #include +#include +#include #include #include #include @@ -9,7 +11,6 @@ #include #include #include -#include #include static void check_has_main_header(struct manifest *m, @@ -25,7 +26,7 @@ static void check_has_main_header(struct manifest *m, return; } } - score->error = talloc_asprintf(score, + score->error = tal_fmt(score, "You have no %s/%s.h header file.\n\n" "CCAN modules have a name, the same as the directory name. They're\n" "expected to have an interface in the header of the same name.\n",