| 2889 | #endif |
| 2890 | |
| 2891 | static int |
| 2892 | mqinit(void) |
| 2893 | { |
| 2894 | int error; |
| 2895 | |
| 2896 | error = syscall_helper_register(mq_syscalls, SY_THR_STATIC_KLD); |
| 2897 | if (error != 0) |
| 2898 | return (error); |
| 2899 | #ifdef COMPAT_FREEBSD32 |
| 2900 | error = syscall32_helper_register(mq32_syscalls, SY_THR_STATIC_KLD); |
| 2901 | if (error != 0) |
| 2902 | return (error); |
| 2903 | #endif |
| 2904 | return (0); |
| 2905 | } |
| 2906 | |
| 2907 | static int |
| 2908 | mqunload(void) |
no test coverage detected