From: Mark Wooding Date: Wed, 10 May 2023 23:04:04 +0000 (+0100) Subject: test/testrig.3: Correct return type of `test_do' in the synopsis. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/commitdiff_plain/377847be35de52d4ec9e5d9ba29d89e11b2bb8e3 test/testrig.3: Correct return type of `test_do' in the synopsis. The later text explains what the function returns, so it clearly is meant to have a meaningful return value, so the synopsis was just always wrong. --- diff --git a/test/testrig.3 b/test/testrig.3 index b996617..5a5e9ca 100644 --- a/test/testrig.3 +++ b/test/testrig.3 @@ -19,9 +19,9 @@ testrig \- generic test rig .nf .B "#include " -.BI "void test_do(const test_suite " suite [], -.BI " FILE *" fp , -.BI " test_results *" results ); +.BI "int test_do(const test_suite " suite [], +.BI " FILE *" fp , +.BI " test_results *" results ); .BI "void test_run(int " argc ", char *" argv [], .BI " const test_chunk " chunk [], .BI " const char *" def );