mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Linux: mq_* syscall numbers are always available
Due to the built-in tables, __NR_mq_getsetattr, __NR_mq_notify, __NR_mq_open, __NR_mq_timedreceive, __NR_mq_timedsend, __NR_mq_unlink are always defined. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -22,8 +22,6 @@
|
||||
#include <stdio.h>
|
||||
#include <sysdep.h>
|
||||
|
||||
#ifdef __NR_mq_open
|
||||
|
||||
/* Establish connection between a process and a message queue NAME and
|
||||
return message queue descriptor or (mqd_t) -1 on error. OFLAG determines
|
||||
the type of access used. If O_CREAT is on OFLAG, the third argument is
|
||||
@ -61,6 +59,3 @@ __mq_open_2 (const char *name, int oflag)
|
||||
|
||||
return __mq_open (name, oflag);
|
||||
}
|
||||
#else
|
||||
# include <rt/mq_open.c>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user