aboutsummaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
Diffstat (limited to 'libports')
-rw-r--r--libports/manage-multithread.c16
-rw-r--r--libports/manage-one-thread.c16
2 files changed, 16 insertions, 16 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
index d138092b..9f397b26 100644
--- a/libports/manage-multithread.c
+++ b/libports/manage-multithread.c
@@ -128,14 +128,14 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket,
struct rpc_info link;
mig_reply_header_t *outp = (mig_reply_header_t *) outheadp;
static const mach_msg_type_t RetCodeType = {
- /* msgt_name = */ MACH_MSG_TYPE_INTEGER_32,
- /* msgt_size = */ 32,
- /* msgt_number = */ 1,
- /* msgt_inline = */ TRUE,
- /* msgt_longform = */ FALSE,
- /* msgt_deallocate = */ FALSE,
- /* msgt_unused = */ 0
- };
+ .msgt_name = MACH_MSG_TYPE_INTEGER_32,
+ .msgt_size = 32,
+ .msgt_number = 1,
+ .msgt_inline = TRUE,
+ .msgt_longform = FALSE,
+ .msgt_deallocate = FALSE,
+ .msgt_unused = 0
+ };
if (__atomic_sub_fetch (&nreqthreads, 1, __ATOMIC_RELAXED) == 0)
/* No thread would be listening for requests, spawn one. */
diff --git a/libports/manage-one-thread.c b/libports/manage-one-thread.c
index 4b92148b..3f039c5d 100644
--- a/libports/manage-one-thread.c
+++ b/libports/manage-one-thread.c
@@ -38,14 +38,14 @@ ports_manage_port_operations_one_thread (struct port_bucket *bucket,
error_t err;
mig_reply_header_t *outp = (mig_reply_header_t *) outheadp;
static const mach_msg_type_t RetCodeType = {
- /* msgt_name = */ MACH_MSG_TYPE_INTEGER_32,
- /* msgt_size = */ 32,
- /* msgt_number = */ 1,
- /* msgt_inline = */ TRUE,
- /* msgt_longform = */ FALSE,
- /* msgt_deallocate = */ FALSE,
- /* msgt_unused = */ 0
- };
+ .msgt_name = MACH_MSG_TYPE_INTEGER_32,
+ .msgt_size = 32,
+ .msgt_number = 1,
+ .msgt_inline = TRUE,
+ .msgt_longform = FALSE,
+ .msgt_deallocate = FALSE,
+ .msgt_unused = 0
+ };
/* Fill in default response. */
outp->Head.msgh_bits