summaryrefslogtreecommitdiffstats
path: root/src/include/init.h
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/include/init.h
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/include/init.h')
-rw-r--r--src/include/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/init.h b/src/include/init.h
index e28a4349c..0b341b8dc 100644
--- a/src/include/init.h
+++ b/src/include/init.h
@@ -51,7 +51,7 @@ struct init_fn {
/* Macro for creating an initialisation function table entry */
#define INIT_FN( init_order, init_func, reset_func, exit_func ) \
static struct init_fn PREFIX_OBJECT(init_fn__) \
- __attribute__ (( used, __table_section(init_fn,init_order) )) = { \
+ __table ( init_fn, init_order ) = { \
.init = init_func, \
.reset = reset_func, \
.exit = exit_func, \