X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/c81c35dfd10050ffef85d57dc2ad73f52f38a3f2..d04c0e00da3a27693bbf9cc4f2d5c88e56d80f20:/struct/t/dstr-putf-test.c diff --git a/struct/t/dstr-putf-test.c b/struct/t/dstr-putf-test.c index eb67e60..5186787 100644 --- a/struct/t/dstr-putf-test.c +++ b/struct/t/dstr-putf-test.c @@ -39,7 +39,10 @@ #include "dstr.h" #include "macros.h" #include "report.h" + #include "tvec.h" +#include "tvec-adhoc.h" +#include "tvec-types.h" /*----- Static variables --------------------------------------------------*/ @@ -101,12 +104,10 @@ static PRINTF_LIKE(1, 2) void prepare(const char *fmt, ...) int main(int argc, char *argv[]) { - struct tvec_test test; int argpos; tvec_parseargs(argc, argv, &tvstate, &argpos, &tvec_adhocconfig); if (argpos < argc) die(2, "no input files expected"); - tvec_adhoc(&tvstate, &test); TESTGROUP("basics") { TEST_KNOWN(("Hello, world!"), "Hello, world!");