aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-31 14:10:40 -0400
committerJack Lloyd <[email protected]>2019-08-31 14:10:40 -0400
commita5e2231b247612831ffd66dea9dda32f5ffc3082 (patch)
treebc5788a40d304ee62fe95d0b40e71aa639142919 /src/lib/utils
parent6d291015d67c264a92e64d5f4c4e1295f8128435 (diff)
Fix warning - always_inline attribute wants also inline
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index 503cd3754..2da40b665 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -183,7 +183,7 @@
#if !defined(BOTAN_FORCE_INLINE)
#if defined (__clang__) || defined (__GNUC__)
- #define BOTAN_FORCE_INLINE __attribute__ ((__always_inline__))
+ #define BOTAN_FORCE_INLINE __attribute__ ((__always_inline__)) inline
#elif defined (_MSC_VER)
#define BOTAN_FORCE_INLINE __forceinline