summaryrefslogtreecommitdiffstats
path: root/missing/acosh.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-22 01:28:00 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-22 01:28:00 +0000
commit03e88d8ac46156ac28d3ad14cd5025851cb15975 (patch)
tree3475fe7f783e96106c803fca0c28620dd27e9f2f /missing/acosh.c
parentcfeb22c3016f896ede986a9b80e8245b80c06fe4 (diff)
downloadruby-03e88d8ac46156ac28d3ad14cd5025851cb15975.tar.gz
ruby-03e88d8ac46156ac28d3ad14cd5025851cb15975.tar.xz
ruby-03e88d8ac46156ac28d3ad14cd5025851cb15975.zip
* missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,
ANSI compatible strtol and strtoul, and ANSI styled other functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/acosh.c')
-rw-r--r--missing/acosh.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/missing/acosh.c b/missing/acosh.c
index a4443e191..59f4af924 100644
--- a/missing/acosh.c
+++ b/missing/acosh.c
@@ -33,8 +33,7 @@
#ifndef HAVE_ACOSH
double
-acosh(x)
- double x;
+acosh(double x)
{
if (x < 1)
x = -1; /* NaN */
@@ -50,8 +49,7 @@ acosh(x)
#ifndef HAVE_ASINH
double
-asinh(x)
- double x;
+asinh(double x)
{
int neg = x < 0;
double z = fabs(x);
@@ -74,8 +72,7 @@ asinh(x)
#ifndef HAVE_ATANH
double
-atanh(x)
- double x;
+atanh(double x)
{
int neg = x < 0;
double z = fabs(x);