1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:57:35 +00:00

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
2 changed files with 2 additions and 2 deletions

View file

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

View file

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