tests/util_allocator.c

changeset 890
54565fd74e74
parent 861
bab51b32fcb1
--- a/tests/util_allocator.c	Wed Sep 18 00:02:18 2024 +0200
+++ b/tests/util_allocator.c	Sat Sep 28 15:47:28 2024 +0200
@@ -147,11 +147,11 @@
     free(alloc->tracked);
 }
 
-bool cx_testing_allocator_used(CxTestingAllocator const *alloc) {
+bool cx_testing_allocator_used(const CxTestingAllocator *alloc) {
     return alloc->alloc_total > 0;
 }
 
-bool cx_testing_allocator_verify(CxTestingAllocator const *alloc) {
+bool cx_testing_allocator_verify(const CxTestingAllocator *alloc) {
     return alloc->tracked_count == 0 && alloc->alloc_failed == 0 && alloc->free_failed == 0
            && alloc->alloc_total == alloc->free_total;
 }

mercurial