summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_print.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-05-05 20:57:37 +0000
committerNils Larsch <nils@openssl.org>2005-05-05 20:57:37 +0000
commit2c288b2a7e4399ba2945efaf79544bee8e1c3872 (patch)
treefc11a9571e67d0636214cfb57ec5cf3985e80308 /crypto/bio/b_print.c
parent831721ef493f89c152f86f04f21c4986d5cd5503 (diff)
fix compiler warning; pow10 is also in math.h
Diffstat (limited to 'crypto/bio/b_print.c')
-rw-r--r--crypto/bio/b_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c
index 5a3ea8c3a5..4857cfe0ce 100644
--- a/crypto/bio/b_print.c
+++ b/crypto/bio/b_print.c
@@ -576,7 +576,7 @@ abs_val(LDOUBLE value)
}
static LDOUBLE
-pow10(int in_exp)
+pow_10(int in_exp)
{
LDOUBLE result = 1;
while (in_exp) {
@@ -640,8 +640,8 @@ fmtfp(
/* we "cheat" by converting the fractional part to integer by
multiplying by a factor of 10 */
- max10 = roundv(pow10(max));
- fracpart = roundv(pow10(max) * (ufvalue - intpart));
+ max10 = roundv(pow_10(max));
+ fracpart = roundv(pow_10(max) * (ufvalue - intpart));
if (fracpart >= max10) {
intpart++;