http://git.etherboot.org
/
people
/
indolent
/
gpxe.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fc121
)
Use PREFIX_OBJECT to give the init_fn table variables meaningful names.
author
Michael Brown
<mcb30@etherboot.org>
Wed, 27 Apr 2005 12:08:52 +0000
(12:08 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 27 Apr 2005 12:08:52 +0000
(12:08 +0000)
src/include/init.h
patch
|
blob
|
history
diff --git
a/src/include/init.h
b/src/include/init.h
index
ab2c44b
..
37ce2d6
100644
(file)
--- 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, \