From 3c18febd87234f54c149bb4a6353e3b0e0103db7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Nov 2020 12:22:28 +0100 Subject: Add const, pure, and malloc function attributes --- zix/sorted_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zix/sorted_array.c') diff --git a/zix/sorted_array.c b/zix/sorted_array.c index 038bc23..ffab77c 100644 --- a/zix/sorted_array.c +++ b/zix/sorted_array.c @@ -72,7 +72,7 @@ zix_sorted_array_free(ZixSortedArray* a) } size_t -zix_sorted_array_size(ZixSortedArray* a) +zix_sorted_array_size(const ZixSortedArray* a) { return a->num_elems; } -- cgit v1.2.1