aboutsummaryrefslogtreecommitdiff
path: root/sysvipc/sys/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/msg.h')
-rw-r--r--sysvipc/sys/msg.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index b6fe7a7..56938bf 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -1,6 +1,5 @@
-/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@@ -29,19 +28,19 @@
/* Get system dependent definition of `struct msqid_ds' and more. */
#include <bits/msq.h>
-__BEGIN_DECLS
-
/* The following System V style IPC functions implement a message queue
system. The definition is found in XPG2. */
/* Template for struct to be used as argument for `msgsnd' and `msgrcv'. */
struct msgbuf
-{
- long int mtype; /* type of received/sent message */
- char mtext[1]; /* text of the message */
-};
+ {
+ long int mtype; /* type of received/sent message */
+ char mtext[1]; /* text of the message */
+ };
+__BEGIN_DECLS
+
/* Message queue control operation. */
extern int msgctl __P ((int __msqid, int __cmd, struct msqid_ds *__buf));