summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2005-05-17 14:16:28 +0200
committerMichael Brown2005-05-17 14:16:28 +0200
commit3bbf5f28a37e2dda53a835de59c99fdb6fdf631e (patch)
tree954b88c043ada9877855342dae041598c96a2238 /src/arch/i386/include
parentUse the heap functions to allocate a load buffer. (diff)
downloadipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.tar.gz
ipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.tar.xz
ipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.zip
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/relocate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/include/relocate.h b/src/arch/i386/include/relocate.h
index fdc807f0..5e482bd6 100644
--- a/src/arch/i386/include/relocate.h
+++ b/src/arch/i386/include/relocate.h
@@ -17,7 +17,7 @@ struct post_reloc_fn {
/* Macro for creating a post-relocation function table entry */
#define POST_RELOC_FN( order, post_reloc_func ) \
static struct post_reloc_fn PREFIX_OBJECT(post_reloc_fn__) \
- __attribute__ (( used, __table_section(post_reloc_fn,order) )) = {\
+ __table ( post_reloc_fn, order ) = { \
.post_reloc = post_reloc_func, \
};