Date: Wed, 10 Jul 2024 21:28:33 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f6372351da07 - main - libdtrace: Use designated initializers for modules ops tables Message-ID: <202407102128.46ALSXaO012432@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f6372351da07ae101d5a22a2bb2bdb2753da2b40 commit f6372351da07ae101d5a22a2bb2bdb2753da2b40 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-07-10 21:17:38 +0000 Commit: Mark Johnston <markj@FreeBSD.org> 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 *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407102128.46ALSXaO012432>