X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Finfo_documentation_exists.c;h=2646e98a8e41c07cdb8d48c427bf8a7082c775ad;hp=0c0ed451494db5604e489fa036a55050360015b4;hb=aabf300e324f7da5134d7ad45afba11225045c24;hpb=44b37ee8aeb185f6837378fef17d887bda6ff89b diff --git a/tools/ccanlint/tests/info_documentation_exists.c b/tools/ccanlint/tests/info_documentation_exists.c index 0c0ed451..2646e98a 100644 --- a/tools/ccanlint/tests/info_documentation_exists.c +++ b/tools/ccanlint/tests/info_documentation_exists.c @@ -13,7 +13,6 @@ #include #include #include -#include static void check_info_documentation_exists(struct manifest *m, unsigned int *timeleft, @@ -52,7 +51,7 @@ static void create_info_template_doc(struct manifest *m, struct score *score) err(1, "Writing to _info.new to insert documentation"); } - oldcontents = grab_file(m, m->info_file->fullname, NULL); + oldcontents = talloc_grab_file(m, m->info_file->fullname, NULL); if (!oldcontents) { unlink_noerr("_info.new"); err(1, "Reading %s", m->info_file->fullname);