Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/sctp_syscalls.c
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | #ifdef COMPAT_FREEBSD32 | ||||
error = syscall32_helper_register(sctp32_syscalls, SY_THR_STATIC_KLD); | error = syscall32_helper_register(sctp32_syscalls, SY_THR_STATIC_KLD); | ||||
if (error != 0) | if (error != 0) | ||||
return (error); | return (error); | ||||
#endif | #endif | ||||
return (0); | return (0); | ||||
} | } | ||||
#ifdef SCTP | #ifdef SCTP | ||||
SYSINIT(sctp_syscalls, SI_SUB_SYSCALLS, SI_ORDER_ANY, sctp_syscalls_init, NULL); | SYSINIT(sctp_syscalls, SI_SUB_SYSCALLS, SI_ORDER_ANY, sctp_syscalls_init); | ||||
#endif | #endif | ||||
int | int | ||||
sctp_syscalls_uninit(void) | sctp_syscalls_uninit(void) | ||||
{ | { | ||||
int error; | int error; | ||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
▲ Show 20 Lines • Show All 428 Lines • Show Last 20 Lines |