mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
math: Move to const instead of __const
There's no reason to use the __const construct here. This is a left-over from supporting K&R and ANSI compilers in the original Sun msun. All other K&R crutches have been removed. Remove these as well. There's no semantic difference. And there's already several others in math.h. Sponsored by: Netflix
This commit is contained in:
parent
8ae4bb9398
commit
1b681154f5
|
@ -183,21 +183,21 @@ int __signbitf(float) __pure2;
|
|||
int __signbitl(long double) __pure2;
|
||||
|
||||
static __inline int
|
||||
__inline_isnan(__const double __x)
|
||||
__inline_isnan(const double __x)
|
||||
{
|
||||
|
||||
return (__x != __x);
|
||||
}
|
||||
|
||||
static __inline int
|
||||
__inline_isnanf(__const float __x)
|
||||
__inline_isnanf(const float __x)
|
||||
{
|
||||
|
||||
return (__x != __x);
|
||||
}
|
||||
|
||||
static __inline int
|
||||
__inline_isnanl(__const long double __x)
|
||||
__inline_isnanl(const long double __x)
|
||||
{
|
||||
|
||||
return (__x != __x);
|
||||
|
|
Loading…
Reference in a new issue