msun: remove requirement to have C99 inline semantic

The 'extern inline' usage is removed.

PR:     277958
Reviewed by:	dim
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:	https://reviews.freebsd.org/D56139
This commit is contained in:
Konstantin Belousov
2026-03-29 04:30:03 +03:00
parent 70674434e2
commit d15733065c
6 changed files with 0 additions and 30 deletions
-5
View File
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#define __fenv_static
#include "fenv.h"
/*
@@ -34,10 +33,6 @@
*/
const fenv_t __fe_dfl_env = 0;
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
int
(feclearexcept)(int excepts)
{
-5
View File
@@ -29,13 +29,8 @@
#include <sys/types.h>
#include <machine/fpu.h>
#define __fenv_static
#include "fenv.h"
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
const fenv_t __fe_dfl_env = {
{ 0xffff0000 | __INITIAL_FPUCW__,
0xffff0000,
-5
View File
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#define __fenv_static
#include "fenv.h"
#include <machine/acle-compat.h>
@@ -66,10 +65,6 @@ const fenv_t __fe_dfl_env = 0;
#include "fenv-softfloat.h"
#endif
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
int
(feclearexcept)(int excepts)
{
-5
View File
@@ -29,13 +29,8 @@
#include <sys/types.h>
#include <machine/npx.h>
#define __fenv_static
#include "fenv.h"
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
const fenv_t __fe_dfl_env = {
__INITIAL_NPXCW__,
0x0000,
-5
View File
@@ -26,13 +26,8 @@
* SUCH DAMAGE.
*/
#define __fenv_static
#include "fenv.h"
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
const fenv_t __fe_dfl_env = 0x00000000;
int
-5
View File
@@ -24,13 +24,8 @@
* SUCH DAMAGE.
*/
#define __fenv_static
#include "fenv.h"
#ifdef __GNUC_GNU_INLINE__
#error "This file must be compiled with C99 'inline' semantics"
#endif
/*
* Hopefully the system ID byte is immutable, so it's valid to use
* this as a default environment.