summaryrefslogtreecommitdiff
path: root/librt/mq_notify.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-09 22:14:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-09 22:14:34 +0000
commit87ad91cafbef5c328ed83c7c5bf56df6a15cadcf (patch)
tree7d41edb274c31a27cf4e908f9480e09d36b69307 /librt/mq_notify.c
parent59b10970c522f8cee255a08b4faf93c8e3addd57 (diff)
run through Lindent
Diffstat (limited to 'librt/mq_notify.c')
-rw-r--r--librt/mq_notify.c14
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