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 /test/test_malloc.h | |
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 'test/test_malloc.h')
-rw-r--r-- | test/test_malloc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_malloc.h b/test/test_malloc.h index ba7cad3..be59008 100644 --- a/test/test_malloc.h +++ b/test/test_malloc.h @@ -14,8 +14,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "zix/common.h" + #include <stddef.h> -void test_malloc_init(void); -void test_malloc_reset(size_t fail_after); -size_t test_malloc_get_n_allocs(void); +void test_malloc_init(void); +void test_malloc_reset(size_t fail_after); +ZIX_PURE_API size_t test_malloc_get_n_allocs(void); |