aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 04:28:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 04:28:19 +0200
commit4982a5779b16c7eddb9c5b409d96a46bbddc6627 (patch)
treec92d2f647c99799a441a64501022d691bac173ea /include
parent09ef049dd136ff5e371b8ea6d978777f252480d8 (diff)
Mark function as inline
Diffstat (limited to 'include')
-rw-r--r--include/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/array.h b/include/array.h
index a6c2258..e3ce3e8 100644
--- a/include/array.h
+++ b/include/array.h
@@ -56,7 +56,7 @@ _mlib_array_hdr(void *p, ptrdiff_t align)
#define array_foreach(p, i) for (typeof(p) i = (p); i < (p) + array_len(p); i++)
[[_mlib_inline]]
-static void
+static inline void
array_set_size(void *p, ptrdiff_t size, ptrdiff_t align)
{
_mlib_arr_hdr_t *hdr = _mlib_array_hdr(p, align);