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/030_move/move_tests.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/030_move') diff --git a/test/030_move/move_tests.c b/test/030_move/move_tests.c index 73e9dbe..d4a109b 100644 --- a/test/030_move/move_tests.c +++ b/test/030_move/move_tests.c @@ -2,7 +2,7 @@ cube_t applymoves(cube_t, char *); -int main(void) { +void run(void) { char movestr[STRLENMAX], cubestr[STRLENMAX]; cube_t cube; @@ -20,6 +20,4 @@ int main(void) { writecube("H48", cube, cubestr); printf("%s\n", cubestr); } - - return 0; } -- cgit v1.3