aboutsummaryrefslogtreecommitdiff
path: root/math/math_config.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-06-14 17:22:11 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-06-15 08:59:49 +0100
commitf6717402b7f0d70726ef421cbbce2fa1fa913794 (patch)
tree8f986e5e74866854ce0d1e71aabbcab254070f6c /math/math_config.h
parent9159cf252995bb33a5eb139545997880d9396c85 (diff)
downloadarm-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.h4
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;