summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2014-08-30 17:31:53 +0000
committerkargl <kargl@FreeBSD.org>2014-08-30 17:31:53 +0000
commitaabd08ca3c41f295266de306383e555c3e499125 (patch)
tree3d3cc1ed2244b2ad9c0d64d1bfe2433333cb5dfd /lib/msun/src
parentb2711b749f59c632287dc892fd5c9c04abd179cf (diff)
downloadFreeBSD-src-aabd08ca3c41f295266de306383e555c3e499125.zip
FreeBSD-src-aabd08ca3c41f295266de306383e555c3e499125.tar.gz
Fix the order of "const volatile" to be consistent with
the rest of msun.
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/s_tanh.c2
-rw-r--r--lib/msun/src/s_tanhf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/s_tanh.c b/lib/msun/src/s_tanh.c
index 27197b0..6d26c69 100644
--- a/lib/msun/src/s_tanh.c
+++ b/lib/msun/src/s_tanh.c
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include "math.h"
#include "math_private.h"
-static volatile const double tiny = 1.0e-300;
+static const volatile double tiny = 1.0e-300;
static const double one = 1.0, two = 2.0, huge = 1.0e300;
double
diff --git a/lib/msun/src/s_tanhf.c b/lib/msun/src/s_tanhf.c
index d6a3634..f537be4 100644
--- a/lib/msun/src/s_tanhf.c
+++ b/lib/msun/src/s_tanhf.c
@@ -19,7 +19,7 @@ __FBSDID("$FreeBSD$");
#include "math.h"
#include "math_private.h"
-static volatile const float tiny = 1.0e-30;
+static const volatile float tiny = 1.0e-30;
static const float one=1.0, two=2.0, huge = 1.0e30;
float
OpenPOWER on IntegriCloud