From nobody Fri Aug 7 21:32:56 2026 X-Original-To: dev-commits-src-branches@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 4hGy6w4Crsz6nnfx for ; Fri, 07 Aug 2026 21:32:56 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hGy6w2rpsz3PT1 for ; Fri, 07 Aug 2026 21:32:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786138376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pBWvwA7Mr5xU8LUY9CNZn+YNSOLb65Yh+llzhTyk4XQ=; b=s4xRmh4RGfo9/1ts9aYMASKat1ZjWQrJ4xlu4Ybu9CR/IrUeGXC5b3yi5Hk9msx2LEVA5V QAah/TTUqfP3v4YCcpRAr50Yo7rDoGp/ZneO6Wzw6sYE836LuuENPf8c1yRdBirYWXZGxU M4GhBjvFVM44azW0Kv+L2lJoO4pIhgTL5eeiKCm3nGphOThqlFGvISbPbVZkkj4eff5G8j WUTRUucbKRLNcaB9y5Bb6cCyhxz/ALBk0r1LDzAF8WMGE3z3E6YNmZexJiaNFWO8hPwSJE yoXV/eJoNjEUYH1IlsESJdxrR8ImTFWijON+1pm45khKRUUXR/JWKhfei5MbrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786138376; a=rsa-sha256; cv=none; b=dmJbrZw4Vis3i5JVUBK9czLyjnQDW6qHwiuuhD21x87ts5XazonLom8IkRuza/rDQ86pyD TXYqHCvnHfHkspx2wj6utc7UNmxH4q/6YRNU3RVCfvcR1Cntu5hXTnmYQprQOxOfKYT/s+ OM6pAJNVnZTW/tBI1Ctjo7q+U0sD9+ZYkEhfZLm/lbKicRKqqsdei6K74UJqtE2NXUfDID sL/lHkvCc9MDNy7hxg5C9YW3q2q+gBdqk5zrRj7H5j8jRJLt7qgLqe+izUx3PfFDoh1nrE 7xfXjfbjcCsfYRM1tHan3cumZWaachcyh2D0VlyLYh+etnNF74yWd0KYdOQvLw== 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=1786138376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pBWvwA7Mr5xU8LUY9CNZn+YNSOLb65Yh+llzhTyk4XQ=; b=U6Ak33hehXPdk6Sp2iFg9hb82UH7LS281el1LFoXqihW5sWQgXQeON9OF82XsrSmvmxejM tQDog1de30ft1T/m6uc22pgpD8LQNIvWxOeSul71PSwW9zJ99v4QWxKi2lAVMX62ofB4EX gQWpKoGvbq5zQWB8C863GrXU31sLz49Q0Q5SOxr8jVNmyJNIk5bu0F+lDTSZjkGJcofYu8 0TeHpFQmHo9GjJd01izW6iI7M7lnUrhVadrc9f0totxFFNyDLdDQ9kZxhHgyY6yThK4YE0 DENpBBUD7ZjbFYHfjPYauP5k6BOQm4K+EQlobecy42XDJIU14LHXnTCgzlgsFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hGy6w1wWbz1NMX for ; Fri, 07 Aug 2026 21:32:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2375f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 07 Aug 2026 21:32:56 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Zhang Qiyue From: Enji Cooper Subject: git: 3d064b7b158a - stable/14 - libc: tests: add static to resolve -Wmissing-prototypes List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3d064b7b158a0ecedb6021dcd1f9b6a9e43f0a2d Auto-Submitted: auto-generated Date: Fri, 07 Aug 2026 21:32:56 +0000 Message-Id: <6a764f08.2375f.1c9f2503@gitrepo.freebsd.org> The branch stable/14 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=3d064b7b158a0ecedb6021dcd1f9b6a9e43f0a2d commit 3d064b7b158a0ecedb6021dcd1f9b6a9e43f0a2d Author: Zhang Qiyue AuthorDate: 2026-07-12 06:26:36 +0000 Commit: Enji Cooper CommitDate: 2026-08-07 21:32:40 +0000 libc: tests: add static to resolve -Wmissing-prototypes The function create_staticobj() is only used inside this translation unit. Clang produces a -Wmissing-prototypes warning during standard buildworld. This warning will become a fatal compile error if MK_WERROR is enabled for hardened builds. PR: 285870 Fixes: ee9ce1078 ("libc: tests: add some tests for __cxa_atexit...") Signed-off-by: Zhang Qiyue Reviewed-by: ngie Pull-Request: https://github.com/freebsd/freebsd-src/pull/2321 (cherry picked from commit 64038db825d64fb4827fc8ee264ea0fa1a046d82) --- lib/libc/tests/stdlib/libatexit/libatexit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/tests/stdlib/libatexit/libatexit.cc b/lib/libc/tests/stdlib/libatexit/libatexit.cc index bb286c97e421..7c5a7126d178 100644 --- a/lib/libc/tests/stdlib/libatexit/libatexit.cc +++ b/lib/libc/tests/stdlib/libatexit/libatexit.cc @@ -44,7 +44,7 @@ struct other_object { } }; -void +static void create_staticobj() { static other_object obj;