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/001_pieces/pieces_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/001_pieces') diff --git a/test/001_pieces/pieces_tests.c b/test/001_pieces/pieces_tests.c index 1ef2fd0..2e6460b 100644 --- a/test/001_pieces/pieces_tests.c +++ b/test/001_pieces/pieces_tests.c @@ -2,7 +2,7 @@ void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]); -int main(void) { +void run(void) { int i; uint8_t corner[8], edge[12]; char str[STRLENMAX], *aux; @@ -22,6 +22,4 @@ int main(void) { for (i = 0; i < 12; i++) printf("%" PRIu8 " ", edge[i]); printf("\n"); - - return 0; } -- cgit v1.3