summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libmath/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/libmath/stubs.c')
-rw-r--r--libstdc++-v3/libmath/stubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/libmath/stubs.c b/libstdc++-v3/libmath/stubs.c
index bf6d714bc55..f25cb60fa69 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
OpenPOWER on IntegriCloud