summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-27 14:08:52 +0200
committerMichael Brown2005-04-27 14:08:52 +0200
commitd2d4978f4f34148f2a35668f5931a87ee93d04f9 (patch)
treead4d85e8b8d26ecc1b920ce36d7f62abbf167b90 /src/include
parentSpecial handling for symbols of the form "xxx_end", to make table end (diff)
downloadipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.tar.gz
ipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.tar.xz
ipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.zip
Use PREFIX_OBJECT to give the init_fn table variables meaningful names.
Diffstat (limited to 'src/include')
-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 ab2c44bf3..37ce2d686 100644
--- a/src/include/init.h
+++ b/src/include/init.h
@@ -47,7 +47,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 init_functions \
+ static struct init_fn PREFIX_OBJECT(init_fn__) \
__attribute__ (( used, __table_section(init_fn,init_order) )) = { \
.init = init_func, \
.reset = reset_func, \