From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 5D0AD385781D; Tue, 25 May 2021 14:56:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D0AD385781D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: POSIX msg queues: move definition of struct msg_hdr X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 49b84cb264c3be68d8e15f8ccde28a92410a7c0c X-Git-Newrev: 4ea7c12a20b405e543f947623081696299844e38 Message-Id: <20210525145610.5D0AD385781D@sourceware.org> Date: Tue, 25 May 2021 14:56:10 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 14:56:10 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4ea7c12a20b405e543f947623081696299844e38 commit 4ea7c12a20b405e543f947623081696299844e38 Author: Corinna Vinschen Date: Tue May 25 16:17:58 2021 +0200 Cygwin: POSIX msg queues: move definition of struct msg_hdr ...to mqueue_types.h header. Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/mqueue_types.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/winsup/cygwin/mqueue_types.h b/winsup/cygwin/mqueue_types.h index 7c4a10e07..3a4b127ca 100644 --- a/winsup/cygwin/mqueue_types.h +++ b/winsup/cygwin/mqueue_types.h @@ -39,6 +39,13 @@ struct mq_hdr uint32_t mqh_magic; /* Expect MQI_MAGIC here, otherwise it's an old-style message queue. */ }; + +struct msg_hdr +{ + int32_t msg_next; /* index of next on linked list */ + int32_t msg_len; /* actual length */ + unsigned int msg_prio; /* priority */ +}; #pragma pack (pop) struct mq_info