From 56048d13b73ec6e6a9c59d62e82f41e69a3994bd Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 25 Mar 2025 18:35:47 +0100 Subject: More safety with pointers using VLA function parameters --- test/112_gendata_h48short/gendata_h48short_tests.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/112_gendata_h48short') diff --git a/test/112_gendata_h48short/gendata_h48short_tests.c b/test/112_gendata_h48short/gendata_h48short_tests.c index b6ff00e..2ed42c1 100644 --- a/test/112_gendata_h48short/gendata_h48short_tests.c +++ b/test/112_gendata_h48short/gendata_h48short_tests.c @@ -2,11 +2,11 @@ #define MAXPOS 200 -void h48map_create(h48map_t *, uint64_t, uint64_t); -void h48map_destroy(h48map_t *); -kvpair_t h48map_nextkvpair(h48map_t *, uint64_t *); +void h48map_create(h48map_t [static 1], uint64_t, uint64_t); +void h48map_destroy(h48map_t [static 1]); +kvpair_t h48map_nextkvpair(h48map_t [static 1], uint64_t [static 1]); size_t gendata_cocsep(void *, uint64_t *, cube_t *); -uint64_t gendata_h48short(gendata_h48short_arg_t *); +uint64_t gendata_h48short(gendata_h48short_arg_t [static 1]); char str[STRLENMAX]; -- cgit v1.3