aboutsummaryrefslogtreecommitdiff
path: root/test/111_h48map/h48map_tests.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-03-25 18:35:47 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-03-25 18:35:47 +0100
commit56048d13b73ec6e6a9c59d62e82f41e69a3994bd (patch)
tree49fc5d50e739a399897425756c08a73ba5924ddb /test/111_h48map/h48map_tests.c
parent0f4931c8de298b0f97aba1757c9538f48adb30c6 (diff)
downloadnissy-core-56048d13b73ec6e6a9c59d62e82f41e69a3994bd.tar.gz
nissy-core-56048d13b73ec6e6a9c59d62e82f41e69a3994bd.zip
More safety with pointers using VLA function parameters
Diffstat (limited to '')
-rw-r--r--test/111_h48map/h48map_tests.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/111_h48map/h48map_tests.c b/test/111_h48map/h48map_tests.c
index 7fdfb3d..927b157 100644
--- a/test/111_h48map/h48map_tests.c
+++ b/test/111_h48map/h48map_tests.c
@@ -2,11 +2,11 @@
2 2
3#define MAXPOS 1000 3#define MAXPOS 1000
4 4
5void h48map_create(h48map_t *, uint64_t, uint64_t); 5void h48map_create(h48map_t [static 1], uint64_t, uint64_t);
6void h48map_destroy(h48map_t *); 6void h48map_destroy(h48map_t [static 1]);
7void h48map_insertmin(h48map_t *, uint64_t, uint64_t); 7void h48map_insertmin(h48map_t [static 1], uint64_t, uint64_t);
8uint64_t h48map_value(h48map_t *, uint64_t); 8uint64_t h48map_value(h48map_t [static 1], uint64_t);
9kvpair_t h48map_nextkvpair(h48map_t *, uint64_t *); 9kvpair_t h48map_nextkvpair(h48map_t [static 1], uint64_t [static 1]);
10 10
11char str[STRLENMAX]; 11char str[STRLENMAX];
12 12

Generated with cgit - Back to sebastiano.tronto.net