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/010_math_permsign/permsgn_tests.c | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/010_math_permsign/permsgn_tests.c')
| -rw-r--r-- | test/010_math_permsign/permsgn_tests.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/010_math_permsign/permsgn_tests.c b/test/010_math_permsign/permsgn_tests.c index 46c7377..04975db 100644 --- a/test/010_math_permsign/permsgn_tests.c +++ b/test/010_math_permsign/permsgn_tests.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | int permsign(uint8_t *, int); | 3 | int permsign(uint8_t *, int); |
| 4 | 4 | ||
| 5 | int main(void) { | 5 | void run(void) { |
| 6 | char str[STRLENMAX]; | 6 | char str[STRLENMAX]; |
| 7 | uint8_t a[100]; | 7 | uint8_t a[100]; |
| 8 | int n, i, p; | 8 | int n, i, p; |
| @@ -17,6 +17,4 @@ int main(void) { | |||
| 17 | 17 | ||
| 18 | p = permsign(a, n); | 18 | p = permsign(a, n); |
| 19 | printf("%d\n", p); | 19 | printf("%d\n", p); |
| 20 | |||
| 21 | return 0; | ||
| 22 | } | 20 | } |
