From 54879fbb4aefb9593f2cd55c769afb52a373c105 Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Tue, 2 Jul 2019 15:38:28 +0100 Subject: [PATCH] Make GCC happy with inline --- src/ds/bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ds/bits.h b/src/ds/bits.h index 5211f70..e6721cd 100644 --- a/src/ds/bits.h +++ b/src/ds/bits.h @@ -22,7 +22,7 @@ # define ALWAYSINLINE __attribute__((always_inline)) # define NOINLINE __attribute__((noinline)) # define SNMALLOC_SLOW_PATH NOINLINE -# define SNMALLOC_FAST_PATH ALWAYSINLINE +# define SNMALLOC_FAST_PATH inline ALWAYSINLINE # define SNMALLOC_PURE __attribute__((const)) # ifdef __clang__ # define HEADER_GLOBAL __attribute__((selectany))