summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
diff options
context:
space:
mode:
authorMichael Brown2006-04-24 20:31:37 +0200
committerMichael Brown2006-04-24 20:31:37 +0200
commit832e86246b37c78466a5a30159bed48ed59eb811 (patch)
treec931cdff0738445ba4b5d432784ac11af323b35a /src/include/gpxe
parent(librm_base-1b) is already an offset; no need to apply OFFSET(). (diff)
downloadipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.gz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.xz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.zip
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
Diffstat (limited to 'src/include/gpxe')
-rw-r--r--src/include/gpxe/tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/tables.h b/src/include/gpxe/tables.h
index a565eba7d..1fdbbfd7c 100644
--- a/src/include/gpxe/tables.h
+++ b/src/include/gpxe/tables.h
@@ -131,7 +131,7 @@
* ...
* }
*
- * static struct frob my_frobnicator __frobnicator = {
+ * struct frob my_frobnicator __frobnicator = {
* .name = "my_frob",
* .frob = my_frob,
* };
@@ -184,7 +184,7 @@
*
* @code
*
- * static struct my_foo __table ( foo, 01 ) = {
+ * struct my_foo __table ( foo, 01 ) = {
* ...
* };
*