From c5f150653fd0642fdbd11b043dfbbbe473604570 Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun, 3 Dec 2023 02:05:48 +0100
Subject: Revert "Reorder mach_msg_type_t fields to ensure msgt_name and
 msgt_size are byte aligned"

This reverts commit 2db6b9b7b23b3bab944665b3b6012d24dd425d97.
---
 include/mach/message.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'include')

diff --git a/include/mach/message.h b/include/mach/message.h
index 906ae797..17d3592f 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -238,12 +238,12 @@ typedef struct  {
      * kernel. Otherwise, we would have to replicate some of the MiG logic
      * internally in the kernel.
      */
-    unsigned int	msgt_name : 8,
-			msgt_size : 16,
-			msgt_unused : 5,
-			msgt_inline : 1,
+    unsigned int	msgt_inline : 1,
 			msgt_longform : 1,
-			msgt_deallocate : 1;
+			msgt_deallocate : 1,
+			msgt_name : 8,
+			msgt_size : 16,
+			msgt_unused : 5;
     mach_msg_type_number_t   msgt_number;
 #else
     unsigned int	msgt_name : 8,
@@ -263,12 +263,12 @@ typedef struct {
          * union to overlay with the old field names.  */
         mach_msg_type_t	msgtl_header;
         struct {
-            unsigned int	msgtl_name : 8,
-                    msgtl_size : 16,
-                    msgtl_unused : 5,
-                    msgtl_inline : 1,
+            unsigned int	msgtl_inline : 1,
                     msgtl_longform : 1,
-                    msgtl_deallocate : 1;
+                    msgtl_deallocate : 1,
+                    msgtl_name : 8,
+                    msgtl_size : 16,
+                    msgtl_unused : 5;
             mach_msg_type_number_t   msgtl_number;
         };
     };
-- 
cgit v1.2.3