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:
@ -31,8 +31,6 @@
|
||||
#include <nptl/pthreadP.h>
|
||||
|
||||
|
||||
#ifdef __NR_mq_notify
|
||||
|
||||
/* Defined in the kernel headers: */
|
||||
#define NOTIFY_COOKIE_LEN 32 /* Length of the cookie used. */
|
||||
#define NOTIFY_WOKENUP 1 /* Code for notifcation. */
|
||||
@ -276,7 +274,3 @@ mq_notify (mqd_t mqdes, const struct sigevent *notification)
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
#else
|
||||
# include <rt/mq_notify.c>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user