Use KOBJMETHOD_END in the kernel linker.
MFC after: 1 week
This commit is contained in:
parent
01cef4caa7
commit
6d775f0ba1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353671
@ -175,7 +175,7 @@ static kobj_method_t link_elf_methods[] = {
|
|||||||
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
||||||
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
||||||
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
||||||
{ 0, 0 }
|
KOBJMETHOD_END
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct linker_class link_elf_class = {
|
static struct linker_class link_elf_class = {
|
||||||
|
@ -163,7 +163,7 @@ static kobj_method_t link_elf_methods[] = {
|
|||||||
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
||||||
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
||||||
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
||||||
{ 0, 0 }
|
KOBJMETHOD_END
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct linker_class link_elf_class = {
|
static struct linker_class link_elf_class = {
|
||||||
|
Loading…
Reference in New Issue
Block a user