]> xenbits.xensource.com Git - xen.git/commitdiff
xen: No use of packed attribute in public headers.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 5 Apr 2007 07:43:21 +0000 (08:43 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 5 Apr 2007 07:43:21 +0000 (08:43 +0100)
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
xen/include/public/acm.h

index 3f7a1c9e821b8bea9e9332a8d55849c2b43cc025..26cf7482b90481c091664c64aef2c6aa41c9d36a 100644 (file)
@@ -124,7 +124,7 @@ struct acm_policy_version
 {
     uint32_t major;
     uint32_t minor;
-} __attribute__((packed));
+};
 
 
 /* each buffer consists of all policy information for
@@ -145,12 +145,12 @@ struct acm_policy_buffer {
     uint32_t secondary_policy_code;
     uint32_t secondary_buffer_offset;
     struct acm_policy_version xml_pol_version; /* add in V3 */
-} __attribute__((packed));
+};
 
 
 struct acm_policy_reference_buffer {
     uint32_t len;
-} __attribute__((packed));
+};
 
 struct acm_chwall_policy_buffer {
     uint32_t policy_version; /* ACM_CHWALL_VERSION */
@@ -162,7 +162,7 @@ struct acm_chwall_policy_buffer {
     uint32_t chwall_conflict_sets_offset;
     uint32_t chwall_running_types_offset;
     uint32_t chwall_conflict_aggregate_offset;
-} __attribute__((packed));
+};
 
 struct acm_ste_policy_buffer {
     uint32_t policy_version; /* ACM_STE_VERSION */
@@ -170,7 +170,7 @@ struct acm_ste_policy_buffer {
     uint32_t ste_max_types;
     uint32_t ste_max_ssidrefs;
     uint32_t ste_ssid_offset;
-} __attribute__((packed));
+};
 
 struct acm_stats_buffer {
     uint32_t magic;
@@ -179,7 +179,7 @@ struct acm_stats_buffer {
     uint32_t primary_stats_offset;
     uint32_t secondary_policy_code;
     uint32_t secondary_stats_offset;
-} __attribute__((packed));
+};
 
 struct acm_ste_stats_buffer {
     uint32_t ec_eval_count;
@@ -188,7 +188,7 @@ struct acm_ste_stats_buffer {
     uint32_t gt_denied_count;
     uint32_t ec_cachehit_count;
     uint32_t gt_cachehit_count;
-} __attribute__((packed));
+};
 
 struct acm_ssid_buffer {
     uint32_t len;
@@ -200,7 +200,7 @@ struct acm_ssid_buffer {
     uint32_t secondary_policy_code;
     uint32_t secondary_max_types;
     uint32_t secondary_types_offset;
-} __attribute__((packed));
+};
 
 #endif