From 342c8de23e22b0b91daafb412f47b13deddf2128 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 5 Apr 2012 16:32:53 -0400 Subject: libmaple/libmaple_types.h: Add __always_inline. We need this to ensure inlining when compiled with -Os. Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/libmaple_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libmaple/include/libmaple/libmaple_types.h b/libmaple/include/libmaple/libmaple_types.h index b2c424a..0a83795 100644 --- a/libmaple/include/libmaple/libmaple_types.h +++ b/libmaple/include/libmaple/libmaple_types.h @@ -54,6 +54,7 @@ typedef void (*voidFuncPtr)(void); #define __packed __attribute__((__packed__)) #define __deprecated __attribute__((__deprecated__)) #define __weak __attribute__((weak)) +#define __always_inline inline __attribute__((always_inline)) #ifndef NULL #define NULL 0 -- cgit v1.2.3