X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fgrab_file%2F_info.c;h=f5d22bbce55494a959adf57b5c05d71457d9469c;hb=2037a903729fea95d76ad7baa7c1e2cd3ce38f04;hp=4aac31aebbd7b343b3e48527bcd5a4baf459b247;hpb=9965fc25fcc92dc76d1cd4cf9595dc3dc9ebc586;p=ccan diff --git a/ccan/grab_file/_info.c b/ccan/grab_file/_info.c index 4aac31ae..f5d22bbc 100644 --- a/ccan/grab_file/_info.c +++ b/ccan/grab_file/_info.c @@ -8,10 +8,11 @@ * This contains simple functions for getting the contents of a file. * * Example: - * #include "grab_file/grab_file.h" * #include * #include * #include + * #include + * #include // For talloc_free() * * int main(int argc, char *argv[]) * { @@ -42,6 +43,7 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/str_talloc\n"); /* Needed for tests. */ printf("ccan/talloc\n"); printf("ccan/noerr\n"); return 0;