diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 12:22:28 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 12:26:56 +0100 |
commit | 3c18febd87234f54c149bb4a6353e3b0e0103db7 (patch) | |
tree | 26c32150fada522778e8df63b747fbe10e7aa3dc /zix/sorted_array.c | |
parent | 387f52cd29b6078d441da5fd07a951a481c10b6d (diff) | |
download | zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.tar.gz zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.tar.bz2 zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.zip |
Add const, pure, and malloc function attributes
Diffstat (limited to 'zix/sorted_array.c')
-rw-r--r-- | zix/sorted_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |