summaryrefslogtreecommitdiff
path: root/source/include/actbl3.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
commit526d99544ba42a5a2155021975b3b97da425819e (patch)
treef33eb960cbd87cb5fa516e45153eb6351dc8ea2e /source/include/actbl3.h
parent7bf0bd8c239ae7e6cb5c98382db85377146519d6 (diff)
Notes
Diffstat (limited to 'source/include/actbl3.h')
-rw-r--r--source/include/actbl3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/include/actbl3.h b/source/include/actbl3.h
index ce69acd4549cb..1afc341d3159b 100644
--- a/source/include/actbl3.h
+++ b/source/include/actbl3.h
@@ -45,6 +45,8 @@
#define __ACTBL3_H__
+#pragma pack(push) /* Set default struct packing */
+
/*******************************************************************************
*
* Additional ACPI Tables (3)
@@ -732,8 +734,6 @@ typedef struct acpi_tpm2_control
} ACPI_TPM2_CONTROL;
-/* Reset to default packing */
-
-#pragma pack()
+#pragma pack(pop) /* Restore original struct packing */
#endif /* __ACTBL3_H__ */