summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2010-05-29 17:51:48 +0200
committerMichael Brown2010-05-30 00:49:47 +0200
commit307b39c08c9a315de9fa90b457367c1b84f51421 (patch)
tree0d77f18e38fc11dc4c148bf05cfa65aa5cf0abc7 /src/include/compiler.h
parent[efi] Update UEFI header files with latest version from TianoCore (diff)
downloadipxe-307b39c08c9a315de9fa90b457367c1b84f51421.tar.gz
ipxe-307b39c08c9a315de9fa90b457367c1b84f51421.tar.xz
ipxe-307b39c08c9a315de9fa90b457367c1b84f51421.zip
[build] Remove PACKED macro
Most of iPXE uses __attribute__((packed)) anyway, and PACKED conflicts with an identically-named macro in the upstream EFI header files. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r--src/include/compiler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 654eaac2..b93a4c35 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -429,9 +429,6 @@ int __debug_disable;
*/
#ifndef ASSEMBLY
-/** Declare a data structure as packed. */
-#define PACKED __attribute__ (( packed ))
-
/** Declare a variable or data structure as unused. */
#define __unused __attribute__ (( unused ))