mirror of
https://github.com/php/php-src.git
synced 2025-01-12 05:54:13 +08:00
Changed php_*h() + php_log1p() + php_expm1() to be static
This commit is contained in:
parent
26603f68eb
commit
76606319c0
@ -51,7 +51,7 @@
|
||||
|
||||
/* {{{ php_asinh
|
||||
*/
|
||||
double php_asinh(double z)
|
||||
static double php_asinh(double z)
|
||||
{
|
||||
#ifdef HAVE_ASINH
|
||||
return(asinh(z));
|
||||
@ -63,7 +63,7 @@ double php_asinh(double z)
|
||||
|
||||
/* {{{ php_acosh
|
||||
*/
|
||||
double php_acosh(double x)
|
||||
static double php_acosh(double x)
|
||||
{
|
||||
#ifdef HAVE_ACOSH
|
||||
return(acosh(x));
|
||||
@ -75,7 +75,7 @@ double php_acosh(double x)
|
||||
|
||||
/* {{{ php_atanh
|
||||
*/
|
||||
double php_atanh(double z)
|
||||
static double php_atanh(double z)
|
||||
{
|
||||
#ifdef HAVE_ATANH
|
||||
return(atanh(z));
|
||||
@ -87,7 +87,7 @@ double php_atanh(double z)
|
||||
|
||||
/* {{{ php_log1p
|
||||
*/
|
||||
double php_log1p(double x)
|
||||
static double php_log1p(double x)
|
||||
{
|
||||
#ifdef HAVE_LOG1P
|
||||
return(log1p(x));
|
||||
@ -99,7 +99,7 @@ double php_log1p(double x)
|
||||
|
||||
/* {{{ php_expm1
|
||||
*/
|
||||
double php_expm1(double x)
|
||||
static double php_expm1(double x)
|
||||
{
|
||||
#if !defined(PHP_WIN32) && !defined(NETWARE)
|
||||
return(expm1(x));
|
||||
|
Loading…
Reference in New Issue
Block a user