From nobody Wed Jul 10 21:28:33 2024 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 4WK9vj6C45z5RBdx; Wed, 10 Jul 2024 21:28:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WK9vj5gpYz4GWW; Wed, 10 Jul 2024 21:28:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720646913; 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=UuYJ1NlanpcM8ZJx259E0k6YwxfgdB/M5VJ38wMwG7E=; b=XDFhMKuuWU1+Hfu0Qcp5A2/Jy47GH5q2m5D0QUespMEipAA2lWB1vnQYtZQj4j6TxlGc8q 1Yys2H2UEZEBywnUJqqM3KRAGdctcUi55j0tgF3ZC1RqjroU/cutmnmPwzVK+lqUTWnSJL wYbnAVjkZFwrGH4x1jD9MANjBM7V2uylf+U4iIhT783kVTvAz8kc74QNX1/jJ4ih4zr3Ms cKWAtkp/uBYEYWHNhUAn5/ZD9srVKzS13O8IV12ZXoX2O1cYZs4G9mhfSUGtaGoG3/YE6g 3Fgveatf7czY27fEyySEftPCNZFnAg6738Jb/uWp0EfW2CDSjrpmCoyjqLiJUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720646913; a=rsa-sha256; cv=none; b=N7H1lhUCHoEtf6Ck8tC6TdqDreRM8/YuO/14S9F25s14TFAwSVGOGmwmcfZLcn69cp/rS+ a98/OUgjEjdQsXaP7g9KZQPHg5073cSVcfqTt+LaGHOkMo2/ojn/mV+/0G1PLyqS71Tmas s91OlWRV/ccKA2iNaJK2rQ/3dUqa33A101yiQ4zZVf8FA5TvnNki/yBgTpE3qwyOpy8wXv keWuwbIvKQnb7cOHh9tCgsd1D53wo0QUxpF8XVRmZ9TxA7folVmKhXWBgtIhSPPbchYVFC y0391ycKmLqohY1/bPVfAO6wlr5gltX0liCyvzUv4ytLZdd3bhyBUKGMe/wdQQ== 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=1720646913; 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=UuYJ1NlanpcM8ZJx259E0k6YwxfgdB/M5VJ38wMwG7E=; b=giwBtkqO8FpwzcqeXxxFTEY6iO8oM9pZ/kHcX1aHUcfeSMBxiWG0sN/WAPsIwVvQKdwA9e mQ3V0PNxG81lweZ5bqvv4y5rsb5eBdei7Bh6t2iRrQts93i8xMO2StRL3TQg/fYz7s+wsR ch+evV4GTCIMC0LxTbjdjWTmKtJUQ48P+5dU+PGkFT3Tm9tKKT8iVD3jZzoKL13mnljwhA 0U6oucWGxVSVdDv0/Rm1E6m1f14Y9fsIuYCOUHT/hQy+HuCF4w+4yxndIo5NXHH5ctL8O+ 9yUlgIqgVwtPRu3Ma+z6i0uOte97vKJm6hDuE9MniSurfYTrNKR585xIrXJH+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WK9vj4bTjzZ4N; Wed, 10 Jul 2024 21:28:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46ALSXsT012435; Wed, 10 Jul 2024 21:28:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46ALSXaO012432; Wed, 10 Jul 2024 21:28:33 GMT (envelope-from git) Date: Wed, 10 Jul 2024 21:28:33 GMT Message-Id: <202407102128.46ALSXaO012432@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: f6372351da07 - main - libdtrace: Use designated initializers for modules ops tables 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6372351da07ae101d5a22a2bb2bdb2753da2b40 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f6372351da07ae101d5a22a2bb2bdb2753da2b40 commit f6372351da07ae101d5a22a2bb2bdb2753da2b40 Author: Mark Johnston AuthorDate: 2024-07-10 21:17:38 +0000 Commit: Mark Johnston CommitDate: 2024-07-10 21:17:38 +0000 libdtrace: Use designated initializers for modules ops tables No functional change intended. MFC after: 1 week Sponsored by: Innovate UK --- .../contrib/opensolaris/lib/libdtrace/common/dt_module.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c index 281c787de533..6fb9b0f84769 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c @@ -452,17 +452,17 @@ dt_module_symaddr64(dt_module_t *dmp, GElf_Addr addr, } static const dt_modops_t dt_modops_32 = { - dt_module_syminit32, - dt_module_symsort32, - dt_module_symname32, - dt_module_symaddr32 + .do_syminit = dt_module_syminit32, + .do_symsort = dt_module_symsort32, + .do_symname = dt_module_symname32, + .do_symaddr = dt_module_symaddr32 }; static const dt_modops_t dt_modops_64 = { - dt_module_syminit64, - dt_module_symsort64, - dt_module_symname64, - dt_module_symaddr64 + .do_syminit = dt_module_syminit64, + .do_symsort = dt_module_symsort64, + .do_symname = dt_module_symname64, + .do_symaddr = dt_module_symaddr64 }; dt_module_t *