summaryrefslogtreecommitdiff
path: root/sysvipc/sys/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/msg.h')
-rw-r--r--sysvipc/sys/msg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index 5f8f761cca..2a726dc654 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -42,18 +42,18 @@ struct msgbuf
__BEGIN_DECLS
/* Message queue control operation. */
-extern int msgctl __P ((int __msqid, int __cmd, struct msqid_ds *__buf));
+extern int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW;
/* Get messages queue. */
-extern int msgget __P ((key_t __key, int __msgflg));
+extern int msgget (key_t __key, int __msgflg) __THROW;
/* Receive message from message queue. */
-extern int msgrcv __P ((int __msqid, void *__msgp, size_t __msgsz,
- long int __msgtyp, int __msgflg));
+extern int msgrcv (int __msqid, void *__msgp, size_t __msgsz,
+ long int __msgtyp, int __msgflg) __THROW;
/* Send message to message queue. */
-extern int msgsnd __P ((int __msqid, __const void *__msgp, size_t __msgsz,
- int __msgflg));
+extern int msgsnd (int __msqid, __const void *__msgp, size_t __msgsz,
+ int __msgflg) __THROW;
__END_DECLS