diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:30 +0200 |
| commit | e986713657bc5f9880e91ed49dd9b0d0227f048d (patch) | |
| tree | 908d371e60546795c4ca1f9a3b67571b964203c5 /test/072_coord_co | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/072_coord_co')
| -rw-r--r-- | test/072_coord_co/coord_co_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/072_coord_co/coord_co_tests.c b/test/072_coord_co/coord_co_tests.c index c7af24c..3b84d74 100644 --- a/test/072_coord_co/coord_co_tests.c +++ b/test/072_coord_co/coord_co_tests.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | int64_t coord_co(cube_t); | 3 | int64_t coord_co(cube_t); |
| 4 | 4 | ||
| 5 | int main(void) { | 5 | void run(void) { |
| 6 | char str[STRLENMAX]; | 6 | char str[STRLENMAX]; |
| 7 | cube_t cube; | 7 | cube_t cube; |
| 8 | int64_t result; | 8 | int64_t result; |
| @@ -13,6 +13,4 @@ int main(void) { | |||
| 13 | result = coord_co(cube); | 13 | result = coord_co(cube); |
| 14 | 14 | ||
| 15 | printf("%" PRId64 "\n", result); | 15 | printf("%" PRId64 "\n", result); |
| 16 | |||
| 17 | return 0; | ||
| 18 | } | 16 | } |
