diff options
Diffstat (limited to 'test/090_tables_readwrite/tables_readwrite_tests.c')
| -rw-r--r-- | test/090_tables_readwrite/tables_readwrite_tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/090_tables_readwrite/tables_readwrite_tests.c b/test/090_tables_readwrite/tables_readwrite_tests.c index 9238207..01c1172 100644 --- a/test/090_tables_readwrite/tables_readwrite_tests.c +++ b/test/090_tables_readwrite/tables_readwrite_tests.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include "../test.h" | 1 | #include "../test.h" |
| 2 | 2 | ||
| 3 | bool readtableinfo(const void *, tableinfo_t *); | 3 | bool readtableinfo(uint64_t, const char *, tableinfo_t *); |
| 4 | bool writetableinfo(const tableinfo_t *, void *); | 4 | bool writetableinfo(const tableinfo_t *, uint64_t, char *); |
| 5 | 5 | ||
| 6 | uint64_t readn(void) { | 6 | uint64_t readn(void) { |
| 7 | char str[STRLENMAX]; | 7 | char str[STRLENMAX]; |
| @@ -70,7 +70,7 @@ void run(void) { | |||
| 70 | tableinfo_t expected, actual; | 70 | tableinfo_t expected, actual; |
| 71 | 71 | ||
| 72 | expected = test_readinfo(); | 72 | expected = test_readinfo(); |
| 73 | writetableinfo(&expected, buf); | 73 | writetableinfo(&expected, INFOSIZE, buf); |
| 74 | readtableinfo(buf, &actual); | 74 | readtableinfo(INFOSIZE, buf, &actual); |
| 75 | test_writeinfo(actual); | 75 | test_writeinfo(actual); |
| 76 | } | 76 | } |
