diff options
author | Jason Evans <je@fb.com> | 2013-01-23 04:43:04 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2013-01-23 04:43:04 (GMT) |
commit | dd0438ee6b7b3640516d5a48feec1490ca2f1cc3 (patch) | |
tree | 87850f69324d3b1e55f72cdeb8da232a4c295791 /include | |
parent | d1b6e18a99caf7e0c38707f4aed7ec8c492e0424 (diff) | |
download | jemalloc-dd0438ee6b7b3640516d5a48feec1490ca2f1cc3.zip jemalloc-dd0438ee6b7b3640516d5a48feec1490ca2f1cc3.tar.gz jemalloc-dd0438ee6b7b3640516d5a48feec1490ca2f1cc3.tar.bz2 |
Specify 'inline' in addition to always_inline attribute.
Specify both inline and __attribute__((always_inline)), in order to
avoid warnings when using newer versions of gcc.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal.h.in b/include/jemalloc/internal/jemalloc_internal.h.in index 13a2ffb..c606c12 100644 --- a/include/jemalloc/internal/jemalloc_internal.h.in +++ b/include/jemalloc/internal/jemalloc_internal.h.in @@ -241,7 +241,7 @@ static const bool config_ivsalloc = # define JEMALLOC_ENABLE_INLINE # ifdef JEMALLOC_HAVE_ATTR # define JEMALLOC_ALWAYS_INLINE \ - static JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline) + static inline JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline) # else # define JEMALLOC_ALWAYS_INLINE static inline # endif |