aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_memory_aligned.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/os/os_memory_aligned.h')
-rw-r--r--src/gallium/auxiliary/os/os_memory_aligned.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/os/os_memory_aligned.h b/src/gallium/auxiliary/os/os_memory_aligned.h
index bb15f24ade3..f7d0e3652ed 100644
--- a/src/gallium/auxiliary/os/os_memory_aligned.h
+++ b/src/gallium/auxiliary/os/os_memory_aligned.h
@@ -55,7 +55,7 @@ add_overflow_size_t(size_t a, size_t b, size_t *res)
/**
* Return memory on given byte alignment
*/
-static INLINE void *
+static inline void *
os_malloc_aligned(size_t size, size_t alignment)
{
char *ptr, *buf;
@@ -87,7 +87,7 @@ os_malloc_aligned(size_t size, size_t alignment)
/**
* Free memory returned by align_malloc().
*/
-static INLINE void
+static inline void
os_free_aligned(void *ptr)
{
if (ptr) {