HomeFreeBSD

fenv.h: stop declaring feclearexcept() extern inline

Description

fenv.h: stop declaring feclearexcept() extern inline

The function is already exported from libm. We only need to stop
declare it extern inline, and instead provide a macro which uses the
internal inline function __feclearexcept_int() instead.

PR: 277958
Reviewed by: dim (x86)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D55975

Details

Provenance
kibAuthored on Mar 19 2026, 5:19 PM
Reviewer
dim
Differential Revision
D55975: fenv.h: stop declaring feclearexcept() extern inline
Parents
rG7e7d4e711ff9: x86: Handle when MPERF/APERF MSRs aren't writable
Branches
Unknown
Tags
Unknown