uipc_mqueue.c (1ce4b357402c3cd0cba264a15c06b6fd00591088) uipc_mqueue.c (e015b1ab0a428e65297e44471d257d7eb589b383)
1/*-
2 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 2795 unchanged lines hidden (view full) ---

2804};
2805#endif
2806
2807static int
2808mqinit(void)
2809{
2810 int error;
2811
1/*-
2 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 2795 unchanged lines hidden (view full) ---

2804};
2805#endif
2806
2807static int
2808mqinit(void)
2809{
2810 int error;
2811
2812 error = syscall_helper_register(mq_syscalls);
2812 error = syscall_helper_register(mq_syscalls, SY_THR_STATIC_KLD);
2813 if (error != 0)
2814 return (error);
2815#ifdef COMPAT_FREEBSD32
2813 if (error != 0)
2814 return (error);
2815#ifdef COMPAT_FREEBSD32
2816 error = syscall32_helper_register(mq32_syscalls);
2816 error = syscall32_helper_register(mq32_syscalls, SY_THR_STATIC_KLD);
2817 if (error != 0)
2818 return (error);
2819#endif
2820 return (0);
2821}
2822
2823static int
2824mqunload(void)

--- 40 unchanged lines hidden ---
2817 if (error != 0)
2818 return (error);
2819#endif
2820 return (0);
2821}
2822
2823static int
2824mqunload(void)

--- 40 unchanged lines hidden ---