summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libmath
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-22 07:53:41 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-22 07:53:41 +0000
commit442cafcb934c021f10df971f52bcf227bad32a0b (patch)
treef5be8c4a3f6e11e03c633c933ce9bbfaeaf95e22 /libstdc++-v3/libmath
parent3bb1c0ff9248533828288ea02ddc4b914393328f (diff)
downloadgcc-442cafcb934c021f10df971f52bcf227bad32a0b.tar.gz
* libmath/stubs.c (tanhf): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libmath')
-rw-r--r--libstdc++-v3/libmath/stubs.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libstdc++-v3/libmath/stubs.c b/libstdc++-v3/libmath/stubs.c
index b990dc0ddc2..bf6d714bc55 100644
--- a/libstdc++-v3/libmath/stubs.c
+++ b/libstdc++-v3/libmath/stubs.c
@@ -31,7 +31,7 @@
#include <bits/c++config.h>
#if !defined(_GLIBCPP_HAVE_COSF) && !defined(_GLIBCPP_HAVE___BUILTIN_COSF)
-extern float
+float
cosf(float x)
{
return (float) cos(x);
@@ -39,7 +39,7 @@ cosf(float x)
#endif
#ifndef _GLIBCPP_HAVE_COSHF
-extern float
+float
coshf(float x)
{
return (float) cosh(x);
@@ -47,7 +47,7 @@ coshf(float x)
#endif
#ifndef _GLIBCPP_HAVE_EXPF
-extern float
+float
expf(float x)
{
return (float) exp(x);
@@ -55,7 +55,7 @@ expf(float x)
#endif
#ifndef _GLIBCPP_HAVE_LOGF
-extern float
+float
logf(float x)
{
return (float) log(x);
@@ -63,7 +63,7 @@ logf(float x)
#endif
#ifndef _GLIBCPP_HAVE_LOG10F
-extern float
+float
log10f(float x)
{
return (float) log10(x);
@@ -71,7 +71,7 @@ log10f(float x)
#endif
#ifndef _GLIBCPP_HAVE_POWF
-extern float
+float
powf(float x)
{
return (float) pow(x);
@@ -79,7 +79,7 @@ powf(float x)
#endif
#if !defined(_GLIBCPP_HAVE_SINF) && !defined(_GLIBCPP_HAVE___BUILTIN_SINF)
-extern float
+float
sinf(float x)
{
return (float) sin(x);
@@ -87,7 +87,7 @@ sinf(float x)
#endif
#ifndef _GLIBCPP_HAVE_SINHF
-extern float
+float
sinhf(float x)
{
return (float) sinh(x);
@@ -95,7 +95,7 @@ sinhf(float x)
#endif
#ifndef _GLIBCPP_HAVE_TANF
-extern float
+float
tanf(float x)
{
return (float) tanf(x);
@@ -103,9 +103,9 @@ tanf(float x)
#endif
#ifndef _GLIBCPP_HAVE_TANHF
-extern float
+float
tanhf(float x)
{
- return (float) tanhf(x);
+ return (float) tanh(x);
}
#endif