public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: fix formatting in mqueue_types.h Date: Fri, 21 May 2021 13:34:07 +0000 (GMT) [thread overview] Message-ID: <20210521133407.C4C873848026@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=438764a9de7eda912f3c2c25a586a9374b26a6b0 commit 438764a9de7eda912f3c2c25a586a9374b26a6b0 Author: Corinna Vinschen <corinna@vinschen.de> Date: Fri May 21 12:55:25 2021 +0200 Cygwin: fix formatting in mqueue_types.h Signed-off-by: Corinna Vinschen <corinna@vinschen.de> 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)
reply other threads:[~2021-05-21 13:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210521133407.C4C873848026@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).