Remove redundant cast from Linuxulator SYSINITs

This commit is contained in:
Ed Maste 2018-03-23 20:32:54 +00:00
parent 8356a9abbb
commit f8268d4d97
3 changed files with 6 additions and 6 deletions

View File

@ -810,7 +810,7 @@ linux_vdso_install(void *param)
(linux_platform - (caddr_t)elf_linux_sysvec.sv_shared_page_base);
}
SYSINIT(elf_linux_vdso_init, SI_SUB_EXEC, SI_ORDER_ANY,
(sysinit_cfunc_t)linux_vdso_install, NULL);
linux_vdso_install, NULL);
static void
linux_vdso_deinstall(void *param)
@ -819,7 +819,7 @@ linux_vdso_deinstall(void *param)
__elfN(linux_shared_page_fini)(linux_shared_page_obj);
}
SYSUNINIT(elf_linux_vdso_uninit, SI_SUB_EXEC, SI_ORDER_FIRST,
(sysinit_cfunc_t)linux_vdso_deinstall, NULL);
linux_vdso_deinstall, NULL);
static char GNULINUX_ABI_VENDOR[] = "GNU";
static int GNULINUX_ABI_DESC = 0;

View File

@ -1008,7 +1008,7 @@ linux_vdso_install(void *param)
(linux_platform - (caddr_t)elf_linux_sysvec.sv_shared_page_base);
}
SYSINIT(elf_linux_vdso_init, SI_SUB_EXEC, SI_ORDER_ANY,
(sysinit_cfunc_t)linux_vdso_install, NULL);
linux_vdso_install, NULL);
static void
linux_vdso_deinstall(void *param)
@ -1017,7 +1017,7 @@ linux_vdso_deinstall(void *param)
__elfN(linux_shared_page_fini)(linux_shared_page_obj);
}
SYSUNINIT(elf_linux_vdso_uninit, SI_SUB_EXEC, SI_ORDER_FIRST,
(sysinit_cfunc_t)linux_vdso_deinstall, NULL);
linux_vdso_deinstall, NULL);
static char GNU_ABI_VENDOR[] = "GNU";
static int GNULINUX_ABI_DESC = 0;

View File

@ -983,7 +983,7 @@ linux_vdso_install(void *param)
elf_linux_sysvec.sv_shared_page_obj = linux_shared_page_obj;
}
SYSINIT(elf_linux_vdso_init, SI_SUB_EXEC, SI_ORDER_ANY,
(sysinit_cfunc_t)linux_vdso_install, NULL);
linux_vdso_install, NULL);
static void
linux_vdso_deinstall(void *param)
@ -992,7 +992,7 @@ linux_vdso_deinstall(void *param)
__elfN(linux_shared_page_fini)(linux_shared_page_obj);
}
SYSUNINIT(elf_linux_vdso_uninit, SI_SUB_EXEC, SI_ORDER_FIRST,
(sysinit_cfunc_t)linux_vdso_deinstall, NULL);
linux_vdso_deinstall, NULL);
static char GNU_ABI_VENDOR[] = "GNU";
static int GNULINUX_ABI_DESC = 0;