Use KOBJMETHOD_END in the kernel linker.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2019-10-16 22:06:19 +00:00
parent 01cef4caa7
commit 6d775f0ba1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353671
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ static kobj_method_t link_elf_methods[] = {
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
{ 0, 0 }
KOBJMETHOD_END
};
static struct linker_class link_elf_class = {

View File

@ -163,7 +163,7 @@ static kobj_method_t link_elf_methods[] = {
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
{ 0, 0 }
KOBJMETHOD_END
};
static struct linker_class link_elf_class = {