mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
libdtrace: Use designated initializers for modules ops tables
No functional change intended. MFC after: 1 week Sponsored by: Innovate UK
This commit is contained in:
parent
dc20d49aa9
commit
f6372351da
1 changed files with 8 additions and 8 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Reference in a new issue