diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:28:41 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:28:41 +0000 |
commit | ffb45327c079ec3d37af737e161ec9e784de0ebf (patch) | |
tree | 42c903fc1046c44101ef4cf7973c526b337c1d1d /librt/mq_notify.c | |
parent | 963e3742bde1a5c52a67844e144f323e5f996ac0 (diff) | |
download | uClibc-alpine-ffb45327c079ec3d37af737e161ec9e784de0ebf.tar.bz2 uClibc-alpine-ffb45327c079ec3d37af737e161ec9e784de0ebf.tar.xz |
STEP 12: synch librt directory
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'librt/mq_notify.c')
-rw-r--r-- | librt/mq_notify.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/librt/mq_notify.c b/librt/mq_notify.c index 4e7953242..3d58e1161 100644 --- a/librt/mq_notify.c +++ b/librt/mq_notify.c @@ -12,17 +12,17 @@ #define __NR___syscall_mq_notify __NR_mq_notify static inline _syscall2(int, __syscall_mq_notify, int, mqdes, - const void *, notification); + const void *, notification); /* Register notification upon message arrival to an empty message queue */ int mq_notify(mqd_t mqdes, const struct sigevent *notification) { - /* We don't support SIGEV_THREAD notification yet */ - if (notification != NULL && notification->sigev_notify == SIGEV_THREAD) { - __set_errno(ENOSYS); - return -1; - } - return __syscall_mq_notify(mqdes, notification); + /* We don't support SIGEV_THREAD notification yet */ + if (notification != NULL && notification->sigev_notify == SIGEV_THREAD) { + __set_errno(ENOSYS); + return -1; + } + return __syscall_mq_notify(mqdes, notification); } #endif |