HomeFreeBSD

Provide external definitions of all of the standardized functions in
rS226218Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Provide external definitions of all of the standardized functions in
fenv.h that are currently inlined.

The definitions are provided in fenv.c via 'extern inline'
declaractions. This assumes the compiler handles 'extern inline' as
specified in C99, which has been true under FreeBSD since 8.0.

The goal is to eventually remove the 'static' keyword from the inline
definitions in fenv.h, so that non-inlined references all wind up
pointing to the same external definition like they're supposed to.
I am deferring the second step to provide a window where
newly-compiled apps will still link against old math libraries.
(This isn't supported, but there's no need to cause undue breakage.)

Reviewed by: stefanf, bde

Details

Provenance
dasAuthored on
Parents
rS226217: Add a FBSD_1.3 namespace for FreeBSD 10.
Branches
Unknown
Tags
Unknown