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/103_gendata_h48 | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip | |
Use callback function to log to stderr
Diffstat (limited to 'test/103_gendata_h48')
| -rw-r--r-- | test/103_gendata_h48/gendata_h48_tests.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/103_gendata_h48/gendata_h48_tests.c b/test/103_gendata_h48/gendata_h48_tests.c index f0910cc..666f9f6 100644 --- a/test/103_gendata_h48/gendata_h48_tests.c +++ b/test/103_gendata_h48/gendata_h48_tests.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | size_t gendata_h48(void *, uint8_t, uint8_t); | 7 | size_t gendata_h48(void *, uint8_t, uint8_t); |
| 8 | 8 | ||
| 9 | int main(void) { | 9 | void run(void) { |
| 10 | char str[STRLENMAX]; | 10 | char str[STRLENMAX]; |
| 11 | uint8_t h, i; | 11 | uint8_t h, i; |
| 12 | uint32_t *buf, *h48info; | 12 | uint32_t *buf, *h48info; |
| @@ -31,5 +31,4 @@ int main(void) { | |||
| 31 | printf("%" PRIu32 ": %" PRIu32 "\n", i, h48info[i+1]); | 31 | printf("%" PRIu32 ": %" PRIu32 "\n", i, h48info[i+1]); |
| 32 | 32 | ||
| 33 | free(buf); | 33 | free(buf); |
| 34 | return 0; | ||
| 35 | } | 34 | } |
