diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:11:49 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:11:49 +0100 |
commit | 276e6080c8646c7f8a9139da8028f25c80d8bdca (patch) | |
tree | d3e12a8fc7e86e04108bbb42ab91b018868c0453 /sysdeps/unix/sysv/linux/mq_receive.c | |
parent | 8d25a6765026162a245c94c5da1140d2f42bcd92 (diff) | |
download | glibc-276e6080c8646c7f8a9139da8028f25c80d8bdca.tar.gz glibc-276e6080c8646c7f8a9139da8028f25c80d8bdca.tar.xz glibc-276e6080c8646c7f8a9139da8028f25c80d8bdca.zip |
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/mq_receive.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/mq_receive.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/mq_receive.c b/sysdeps/unix/sysv/linux/mq_receive.c index 5292c98b8b..282f486911 100644 --- a/sysdeps/unix/sysv/linux/mq_receive.c +++ b/sysdeps/unix/sysv/linux/mq_receive.c @@ -20,8 +20,6 @@ #include <stddef.h> #include <sysdep.h> -#ifdef __NR_mq_timedreceive - /* Receive the oldest from highest priority messages in message queue MQDES. */ ssize_t @@ -30,7 +28,3 @@ mq_receive (mqd_t mqdes, char *msg_ptr, size_t msg_len, { return __mq_timedreceive (mqdes, msg_ptr, msg_len, msg_prio, NULL); } - -#else -# include <rt/mq_receive.c> -#endif |