diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-06-14 17:22:11 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-06-15 08:59:49 +0100 |
commit | f6717402b7f0d70726ef421cbbce2fa1fa913794 (patch) | |
tree | 8f986e5e74866854ce0d1e71aabbcab254070f6c /math/math_config.h | |
parent | 9159cf252995bb33a5eb139545997880d9396c85 (diff) | |
download | arm-optimized-routines-f6717402b7f0d70726ef421cbbce2fa1fa913794.tar.gz |
Fix the opt_barrier_ function prototypes
The portable function prototype was wrong.
Diffstat (limited to 'math/math_config.h')
-rw-r--r-- | math/math_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/math_config.h b/math/math_config.h index bf50fa5..020e3eb 100644 --- a/math/math_config.h +++ b/math/math_config.h @@ -174,13 +174,13 @@ force_eval_double (double x) __asm__ __volatile__ ("" : "+w" (x)); } #else -static inline void +static inline float opt_barrier_float (float x) { volatile float y = x; return y; } -static inline void +static inline double opt_barrier_double (double x) { volatile double y = x; |