From 283effb16646112ee9c6bba57e021e80f322b29f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 4 Oct 2024 14:29:00 +0200 Subject: Avoid repeating typedefs in tests --- test/090_tables_readwrite/tables_readwrite_tests.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'test/090_tables_readwrite/tables_readwrite_tests.c') diff --git a/test/090_tables_readwrite/tables_readwrite_tests.c b/test/090_tables_readwrite/tables_readwrite_tests.c index 73c4e21..9238207 100644 --- a/test/090_tables_readwrite/tables_readwrite_tests.c +++ b/test/090_tables_readwrite/tables_readwrite_tests.c @@ -1,25 +1,5 @@ #include "../test.h" -#define INFOSIZE 512 -#define INFO_SOLVER_STRLEN 100 -#define INFO_DISTRIBUTION_LEN 21 - -typedef struct { - uint64_t distribution[INFO_DISTRIBUTION_LEN]; - uint64_t type; - uint64_t infosize; - uint64_t fullsize; - uint64_t hash; - uint64_t entries; - uint64_t classes; - uint64_t next; - char solver[INFO_SOLVER_STRLEN]; - uint8_t h48h; - uint8_t bits; - uint8_t base; - uint8_t maxvalue; -} tableinfo_t; - bool readtableinfo(const void *, tableinfo_t *); bool writetableinfo(const tableinfo_t *, void *); -- cgit v1.3