From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id C4C873848026; Fri, 21 May 2021 13:34:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4C873848026 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: fix formatting in mqueue_types.h X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 6c901b928fd1a9b0e7a233912434910d74adc92d X-Git-Newrev: 438764a9de7eda912f3c2c25a586a9374b26a6b0 Message-Id: <20210521133407.C4C873848026@sourceware.org> Date: Fri, 21 May 2021 13:34:07 +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: Fri, 21 May 2021 13:34:07 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=438764a9de7eda912f3c2c25a586a9374b26a6b0 commit 438764a9de7eda912f3c2c25a586a9374b26a6b0 Author: Corinna Vinschen Date: Fri May 21 12:55:25 2021 +0200 Cygwin: fix formatting in mqueue_types.h Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/mqueue_types.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/winsup/cygwin/mqueue_types.h b/winsup/cygwin/mqueue_types.h index 2e6fd38c5..7c4a10e07 100644 --- a/winsup/cygwin/mqueue_types.h +++ b/winsup/cygwin/mqueue_types.h @@ -25,18 +25,18 @@ struct mq_fattr struct mq_hdr { - struct mq_fattr mqh_attr; /* the queue's attributes */ - int32_t mqh_head; /* index of first message */ - int32_t mqh_free; /* index of first free message */ - int32_t mqh_nwait; /* #threads blocked in mq_receive() */ - pid_t mqh_pid; /* nonzero PID if mqh_event set */ - char __mqh_ext[36]; /* free for extensions */ + struct mq_fattr mqh_attr; /* the queue's attributes */ + int32_t mqh_head; /* index of first message */ + int32_t mqh_free; /* index of first free message */ + int32_t mqh_nwait; /* #threads blocked in mq_receive() */ + pid_t mqh_pid; /* nonzero PID if mqh_event set */ + uint32_t __mqh_ext[36]; /* free for extensions */ union { struct sigevent mqh_event; /* for mq_notify() */ - uint64_t __mqh_dummy[4]; + uint64_t __mqh_dummy[4]; }; - uint64_t __mgh_ext2[4]; /* free for extensions */ - uint32_t mqh_magic; /* Expect MQI_MAGIC here, otherwise it's + uint64_t __mqh_ext2[4]; /* free for extensions */ + uint32_t mqh_magic; /* Expect MQI_MAGIC here, otherwise it's an old-style message queue. */ }; #pragma pack (pop)