aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>2001-06-22 08:57:02 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2001-06-22 08:57:02 +0000
commit8b8d3a3451f12827490a78130012f5f3bf28f23c (patch)
tree2e9bf9e1a0826493a8e864db7dade01a5975c6ea
parent1a79c401448679b72f370c0a592a8df4361a6164 (diff)
downloadgcc-8b8d3a3451f12827490a78130012f5f3bf28f23c.zip
gcc-8b8d3a3451f12827490a78130012f5f3bf28f23c.tar.gz
gcc-8b8d3a3451f12827490a78130012f5f3bf28f23c.tar.bz2
* libmath/stubs.c (powf): Fix typo.
From-SVN: r43503
-rw-r--r--libstdc++-v3/ChangeLog1
-rw-r--r--libstdc++-v3/libmath/stubs.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dbc6e7d..468f90fee 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -2,6 +2,7 @@
* libmath/stubs.c: New file.
(tanhf): Fix typo.
+ (powf): Likewise.
* libmath/Makefile.am (libmath_la_SOURCES): Add.
* libmath/Makefile.in. Regenerate.
diff --git a/libstdc++-v3/libmath/stubs.c b/libstdc++-v3/libmath/stubs.c
index bf6d714..f25cb60 100644
--- a/libstdc++-v3/libmath/stubs.c
+++ b/libstdc++-v3/libmath/stubs.c
@@ -72,9 +72,9 @@ log10f(float x)
#ifndef _GLIBCPP_HAVE_POWF
float
-powf(float x)
+powf(float x, float y)
{
- return (float) pow(x);
+ return (float) pow(x, y);
}
#endif