summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibM/math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibM/math.cpp')
-rw-r--r--Userland/Libraries/LibM/math.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibM/math.cpp b/Userland/Libraries/LibM/math.cpp
index 94d2e350f8..f3760cccd2 100644
--- a/Userland/Libraries/LibM/math.cpp
+++ b/Userland/Libraries/LibM/math.cpp
@@ -340,17 +340,17 @@ static FloatT internal_gamma(FloatT x) NOEXCEPT
extern "C" {
-float nanf(const char* s) NOEXCEPT
+float nanf(char const* s) NOEXCEPT
{
return __builtin_nanf(s);
}
-double nan(const char* s) NOEXCEPT
+double nan(char const* s) NOEXCEPT
{
return __builtin_nan(s);
}
-long double nanl(const char* s) NOEXCEPT
+long double nanl(char const* s) NOEXCEPT
{
return __builtin_nanl(s);
}