From e986713657bc5f9880e91ed49dd9b0d0227f048d Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 17 Jun 2024 17:39:06 +0200 Subject: Use callback function to log to stderr --- test/100_gendata_cocsep/gendata_cocsep_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/100_gendata_cocsep') diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c index 9d8f03c..4a29ebb 100644 --- a/test/100_gendata_cocsep/gendata_cocsep_tests.c +++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c @@ -4,7 +4,7 @@ size_t gendata_cocsep(void *, uint64_t *, cube_t *); -int main(void) { +void run(void) { uint32_t buf[300000], i; uint64_t selfsim[COCSEP_CLASSES]; cube_t rep[COCSEP_CLASSES]; @@ -17,6 +17,4 @@ int main(void) { printf("Max value: %" PRIu32 "\n", buf[result/4-11]); for (i = 0; i < 10; i++) printf("%" PRIu32 ": %" PRIu32 "\n", i, buf[result/4-10+i]); - - return 0; } -- cgit v1.3