diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:30:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 190334febe62d56d80489034f0ee3cf59100f6c4 (patch) | |
tree | 4cde37896e4b6a00bc84fbc5e69fbe41a8f8dcb9 /sal | |
parent | f7a24eff2d40ca30c6f299ab6534393c5c146b95 (diff) |
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/source/math.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx index 67b3a513787c..a6f05b94cd8e 100644 --- a/sal/rtl/source/math.cxx +++ b/sal/rtl/source/math.cxx @@ -78,7 +78,7 @@ static double getN10Exp( int nExp ) } /** Approximation algorithm for erf for 0 < x < 0.65. */ -void lcl_Erf0065( double x, double& fVal ) +static void lcl_Erf0065( double x, double& fVal ) { static const double pn[] = { 1.12837916709551256, @@ -107,7 +107,7 @@ void lcl_Erf0065( double x, double& fVal ) } /** Approximation algorithm for erfc for 0.65 < x < 6.0. */ -void lcl_Erfc0600( double x, double& fVal ) +static void lcl_Erfc0600( double x, double& fVal ) { double fPSum = 0.0; double fQSum = 0.0; @@ -172,7 +172,7 @@ void lcl_Erfc0600( double x, double& fVal ) /** Approximation algorithm for erfc for 6.0 < x < 26.54 (but used for all x > 6.0). */ -void lcl_Erfc2654( double x, double& fVal ) +static void lcl_Erfc2654( double x, double& fVal ) { static const double pn[] = { 5.64189583547756078E-1, |