diff options
Diffstat (limited to 'lib/librt/mq.c')
-rw-r--r-- | lib/librt/mq.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/librt/mq.c b/lib/librt/mq.c index 127e64e18f34..eba52f76c928 100644 --- a/lib/librt/mq.c +++ b/lib/librt/mq.c @@ -1,5 +1,5 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2006 David Xu <davidxu@freebsd.org> * All rights reserved. @@ -24,11 +24,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ -#include <sys/cdefs.h> #include <sys/types.h> #include <sys/syscall.h> #include <sys/mqueue.h> @@ -43,18 +40,6 @@ #include "un-namespace.h" #include "libc_private.h" -extern int __sys_kmq_notify(int, const struct sigevent *); -extern int __sys_kmq_open(const char *, int, mode_t, - const struct mq_attr *); -extern int __sys_kmq_setattr(int, const struct mq_attr *__restrict, - struct mq_attr *__restrict); -extern ssize_t __sys_kmq_timedreceive(int, char *__restrict, size_t, - unsigned *__restrict, const struct timespec *__restrict); -extern int __sys_kmq_timedsend(int, const char *, size_t, unsigned, - const struct timespec *); -extern int __sys_kmq_unlink(const char *); -extern int __sys_close(int fd); - struct __mq { int oshandle; struct sigev_node *node; |