diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-05 16:32:53 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:56 -0400 |
commit | 342c8de23e22b0b91daafb412f47b13deddf2128 (patch) | |
tree | 9d79c34f227ce32e7cb9fd09d8527ecc630c6b09 /libmaple/include | |
parent | cd4613ca787ba0d36dd201ced3aa843f0af7a31a (diff) | |
download | librambutan-342c8de23e22b0b91daafb412f47b13deddf2128.tar.gz librambutan-342c8de23e22b0b91daafb412f47b13deddf2128.zip |
libmaple/libmaple_types.h: Add __always_inline.
We need this to ensure inlining when compiled with -Os.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/libmaple_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |