From nobody Wed May 20 15:09:33 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 4gLFM20sdcz6dwXf for ; Wed, 20 May 2026 15:09:34 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gLFM200k3z3l5v for ; Wed, 20 May 2026 15:09:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779289774; 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=UWmk85YkAtANV4uCrkNaAIJ0DpZ+LBG0aKwfih5J/Kw=; b=MaSVO7Mz3bUzIP8W+F6SE9fyYKyHhMYldIX4NtP3vzCj4SuKOAEbKnGBy2Z68Sv3+07riV GRTd8f/hURiALf5D7PSKUT7n7fcRihLgJsDuQWk5Y5Zto3NVWM/JmrEyAoYwmB4lS4qaIP VeIIwwh0j0Z2gZhxIEaX6S4s4caSaBsPHcmSyHRPuBvZ2ZwD/YBFRYG9y2p549UZDDZqqc G5+EIeJ406ScaQ83O46zcYfZJhGDKasz3XbQUX0bS39EF90Mjt5aTrOvI0FatBrXUPJIPd hyOmQTdjCUdyqqbq6s6F0mK9GM20ihFmoaIMMe/UYZW4iInGRY2i9VpWLPWEnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779289774; a=rsa-sha256; cv=none; b=bBewAbamS8bDMzJSMWBpxsv/6yUTwBIyAVxfRq0LANi2mtaMxarjIg/VGCy+jxxnj1kAgo xac4PXhQbcmeqy1SabovWBRF6nG6cr0Vjt3FP8CYfeTNz2GGcmWj4frroCG2XuVtoV+7VQ JycoN/+DP/afsxwhDlFEbPfqhQR6jidJYMsSlUvcwptGL+QnEN5J+4Kj4qSfjXuAWhAHqM NhgWFqEGpQ6oIENPFn8Bx+ltT1dJcdWVXiVMUD/zUXZIU8mL4iZJCLHT+iGoK4X6mpagsQ iSr3r0S8VLVgzzoVa7H0ZbiqmC+F3bQpAtdhUC7uFbWge29m7XnirwpqWf/0+w== 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=1779289774; 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=UWmk85YkAtANV4uCrkNaAIJ0DpZ+LBG0aKwfih5J/Kw=; b=tMfQt+67NuBZOv6l1ygusdcLN+TOXtxgRCsJjDxA7TsegQEqN9z93g5cDzvW1btmgwVwk9 EUKf/vC85cHcgUEKtXvFAkm4lXS2v7ZEMyFE/jTu42J1tPVmVciHz5iO4zu2AD1A2UkJri 1CLXI13nqKpTNEXRrb4vrij1Fy5QjYz6ArploQoXCevMoqIDm4oD4tfPntAcd74bsVubWS i3oyW/ZV/tdbYS0hMtkQnIjWBpy3ymrUDJC7RKNnkC8ywUuJd9tIy1UihmJcDlND1D1dz2 tu3bxVCoYffVqo+rWoXoY8k3p6UL2CzOiKsNZgjy1MB7jnJK2yMBEyLCBoiEvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gLFM16hFgz15xv for ; Wed, 20 May 2026 15:09:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 434a4 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 20 May 2026 15:09:33 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: c796cc5afff2 - main - nlist.3: Move deprecation notice after intro 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 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: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c796cc5afff2dffd542880c5f624439b25d74402 Auto-Submitted: auto-generated Date: Wed, 20 May 2026 15:09:33 +0000 Message-Id: <6a0dcead.434a4.78f0f402@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=c796cc5afff2dffd542880c5f624439b25d74402 commit c796cc5afff2dffd542880c5f624439b25d74402 Author: Alexander Ziaee AuthorDate: 2026-05-20 15:06:31 +0000 Commit: Alexander Ziaee CommitDate: 2026-05-20 15:09:16 +0000 nlist.3: Move deprecation notice after intro Its more clear and good practice for the first sentence of a description to describe what something is, because there are a lot of different use cases for documentation. Fixes: 94b7a335683a ("nlist.3: Add discouraged use notice") Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D57128 --- lib/libc/gen/nlist.3 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/nlist.3 b/lib/libc/gen/nlist.3 index 4912180e9bcd..12a3dab41ab6 100644 --- a/lib/libc/gen/nlist.3 +++ b/lib/libc/gen/nlist.3 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 19, 2026 +.Dd May 20, 2026 .Dt NLIST 3 .Os .Sh NAME @@ -40,10 +40,6 @@ .Sh DESCRIPTION The .Fn nlist -function is provided for compatibility with legacy applications. -Its use is discouraged. -The -.Fn nlist function retrieves name list entries from .Xr elf 5 @@ -52,6 +48,9 @@ sections with type or .Dv SHT_SYMTAB in an ELF object (for example, an executable file or shared library). +This function is provided for compatibility with legacy applications. +Its use is discouraged. +.Pp The argument .Fa \&nl is set to reference the