mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
LibM: Mark compilation-unit-only functions as static
This enables a nice warning in case a function becomes dead code.
This commit is contained in:
parent
f2f0c22052
commit
7cb2b344c0
1 changed files with 1 additions and 2 deletions
|
@ -155,7 +155,7 @@ double tanh(double x) NOEXCEPT
|
|||
return (plusX - minusX) / (plusX + minusX);
|
||||
}
|
||||
|
||||
double ampsin(double angle) NOEXCEPT
|
||||
static double ampsin(double angle) NOEXCEPT
|
||||
{
|
||||
double looped_angle = fmod(M_PI + angle, M_TAU) - M_PI;
|
||||
double looped_angle_squared = looped_angle * looped_angle;
|
||||
|
@ -536,5 +536,4 @@ double erfc(double x) NOEXCEPT
|
|||
{
|
||||
return 1 - erf(x);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue