LibC: Rename feclearexcept{s,}

This will also help with making ports compile again :D
https://github.com/SerenityOS/serenity/pull/5762#issuecomment-798779561
This commit is contained in:
Ben Wiederhake 2021-03-13 21:25:21 +01:00 committed by Andreas Kling
parent 60b458f5b3
commit 430e7fb181
Notes: sideshowbarker 2024-07-18 21:22:43 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ int fesetround(int rounding_mode)
return 0;
}
int feclearexcepts(int exceptions)
int feclearexcept(int exceptions)
{
exceptions &= FE_ALL_EXCEPT;

View file

@ -70,7 +70,7 @@ typedef uint16_t fexcept_t;
int fegetexceptflag(fexcept_t*, int exceptions);
int fesetexceptflag(const fexcept_t*, int exceptions);
int feclearexcepts(int exceptions);
int feclearexcept(int exceptions);
int fetestexcept(int exceptions);
int feraiseexcept(int exceptions);