Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2014 17:31:53 +0000 (UTC)
From:      Steve Kargl <kargl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270847 - head/lib/msun/src
Message-ID:  <201408301731.s7UHVrsZ053194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kargl
Date: Sat Aug 30 17:31:53 2014
New Revision: 270847
URL: http://svnweb.freebsd.org/changeset/base/270847

Log:
  Fix the order of "const volatile" to be consistent with
  the rest of msun.

Modified:
  head/lib/msun/src/s_tanh.c
  head/lib/msun/src/s_tanhf.c

Modified: head/lib/msun/src/s_tanh.c
==============================================================================
--- head/lib/msun/src/s_tanh.c	Sat Aug 30 17:18:11 2014	(r270846)
+++ head/lib/msun/src/s_tanh.c	Sat Aug 30 17:31:53 2014	(r270847)
@@ -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

Modified: head/lib/msun/src/s_tanhf.c
==============================================================================
--- head/lib/msun/src/s_tanhf.c	Sat Aug 30 17:18:11 2014	(r270846)
+++ head/lib/msun/src/s_tanhf.c	Sat Aug 30 17:31:53 2014	(r270847)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408301731.s7UHVrsZ053194>