From nobody Mon Mar 30 17:15:43 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fkyZ84DmYz6X5h3 for ; Mon, 30 Mar 2026 17:15:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fkyZ76NcYz3TWn for ; Mon, 30 Mar 2026 17:15:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774890943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t2JWxHrxvJ8gwBw7YPkWF64ctWZIqQ1+rCucvciGLp4=; b=sY6sgbo3SvmaNPXVQd3ZDROpG5I7GgvVzUhNVyI1Fkz/v+Bc4qomE+Kc44T/xKdxU1aVrl R7sd5yMD5KFIJicYnyTEfECDg8kt7bxTuJwnzsDKW97KvsNxAz3RXwfTPf/JAq4WHUK0zp 3L9p9AFoW82c6q1aEvfghl8tdxmKz4UoEfjP/n3185I4Zl9NApYqgNy19QCdXaMR/MFAbJ Hk4rgz3DZnPbslJKekxPjUiBMrKa8z2alFBJgA/MYf/I54tD4fQBV+oz/vO1M117fvnijO /pyh/J9SLgQF7vR4ndddt0fSSB4ZEmTu2HLqRShZ9+4W37AiHgCpvU4jfSAXSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774890943; a=rsa-sha256; cv=none; b=QEF9a/d6Es7fqqTASu654HW7RF2zpNNaohd7m+4hnFkuxTnzgNO8iL8EjYrlZVavj4aKoP RTqGT+c+YZQIsREf3BbROmgSQJU7TklVXyJCl7XJAWB3Ip361BxkvggmaNuXqV+7MU4sgq 5oplpL59KQDQlpo4g3Dbm87UecmAscrZvP1gdTpMsIB7XGLammQ64gFOof3S3h49Cz4i0P Y7DKxGAxbCTALRfA4xbRIIsBcAKSvux7l/w7IbaUqPGMrtusTGPPb2w2zNyOdv5PVQe6ZY t6Dq+q3MHWS3V0oO7ZEcOQk+iB5q6j45r7i1V8eLFo+jCQ5uNYiFEWPWdO3KIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774890943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t2JWxHrxvJ8gwBw7YPkWF64ctWZIqQ1+rCucvciGLp4=; b=IWio108clh2DdQ/n3Zg0kinrd/V4z3NuhAS3YbaTxWHN46RsFb0cBkrscZpOTWHhE2q/m/ C+pNfYXuCVBtWC0D/dozsAmA5tGmOqr3Mbrv94w1rHO0hg/j/IGU4I4ICf7dAo5pCXfxrS A88RKHlCOxx4wH9pyGFEvdKMs71Amf93qno1aa/xBwKiUGxW4usu1Lk4W4JU+D10/QD3LO Og8jRau/lVAKcOpM277odavVIZT7nGc+kULyP4tguQzYJsWmEImk4sm8zFvPgzy41mJDY9 9nL47qIFdSnAPG6vQ0tgjSlv75ImwOCqP8tBiGCqr1Gv3hAPNMlr1HxWi/zGsQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fkyZ75wWbzsCw for ; Mon, 30 Mar 2026 17:15:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42681 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 30 Mar 2026 17:15:43 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: d15733065c42 - main - msun: remove requirement to have C99 inline semantic List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d15733065c4221dcd5bb3622d225760f271f6fc9 Auto-Submitted: auto-generated Date: Mon, 30 Mar 2026 17:15:43 +0000 Message-Id: <69caafbf.42681.4bf1f330@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d15733065c4221dcd5bb3622d225760f271f6fc9 commit d15733065c4221dcd5bb3622d225760f271f6fc9 Author: Konstantin Belousov AuthorDate: 2026-03-29 01:30:03 +0000 Commit: Konstantin Belousov CommitDate: 2026-03-30 16:57:01 +0000 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 --- lib/msun/aarch64/fenv.c | 5 ----- lib/msun/amd64/fenv.c | 5 ----- lib/msun/arm/fenv.c | 5 ----- lib/msun/i387/fenv.c | 5 ----- lib/msun/powerpc/fenv.c | 5 ----- lib/msun/riscv/fenv.c | 5 ----- 6 files changed, 30 deletions(-) diff --git a/lib/msun/aarch64/fenv.c b/lib/msun/aarch64/fenv.c index 5d626f66516f..a428a9d8a271 100644 --- a/lib/msun/aarch64/fenv.c +++ b/lib/msun/aarch64/fenv.c @@ -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) { diff --git a/lib/msun/amd64/fenv.c b/lib/msun/amd64/fenv.c index 5dd122cf457c..fe9ecfff3b83 100644 --- a/lib/msun/amd64/fenv.c +++ b/lib/msun/amd64/fenv.c @@ -29,13 +29,8 @@ #include #include -#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, diff --git a/lib/msun/arm/fenv.c b/lib/msun/arm/fenv.c index 620a05d51b90..2cf5bbdea28f 100644 --- a/lib/msun/arm/fenv.c +++ b/lib/msun/arm/fenv.c @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#define __fenv_static #include "fenv.h" #include @@ -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) { diff --git a/lib/msun/i387/fenv.c b/lib/msun/i387/fenv.c index d3cdc2e1cafb..bae8de2fb969 100644 --- a/lib/msun/i387/fenv.c +++ b/lib/msun/i387/fenv.c @@ -29,13 +29,8 @@ #include #include -#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, diff --git a/lib/msun/powerpc/fenv.c b/lib/msun/powerpc/fenv.c index d1926155d087..3104b59d4dfb 100644 --- a/lib/msun/powerpc/fenv.c +++ b/lib/msun/powerpc/fenv.c @@ -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 diff --git a/lib/msun/riscv/fenv.c b/lib/msun/riscv/fenv.c index 1f1f8eddc2d6..7fdedca1f09c 100644 --- a/lib/msun/riscv/fenv.c +++ b/lib/msun/riscv/fenv.c @@ -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.