* libmath/stubs.c (powf): Fix typo.
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>
Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Fri, 22 Jun 2001 08:57:02 +0000 (08:57 +0000)
From-SVN: r43503

libstdc++-v3/ChangeLog
libstdc++-v3/libmath/stubs.c

index dbc6e7d9c983ced51e02fb903205ecb023f8d0a1..468f90fee0ec212edfbb9e4dd3f19adc1b42aa57 100644 (file)
@@ -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.
index bf6d714bc55aabaf46b2a6d5f12bae317e25f52a..f25cb60fa69b30f0ae1b5f5103722724f97474c1 100644 (file)
@@ -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