[newlib-cygwin] Cygwin: fix formatting in mqueue_types.h
Corinna Vinschen
corinna@sourceware.org
Fri May 21 13:34:07 GMT 2021
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)
More information about the Cygwin-cvs
mailing list