summaryrefslogtreecommitdiffstats
path: root/src/interface/pxe
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/interface/pxe
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/interface/pxe')
-rw-r--r--src/interface/pxe/pxe_errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/pxe/pxe_errors.c b/src/interface/pxe/pxe_errors.c
index 581393e81..dce50d773 100644
--- a/src/interface/pxe/pxe_errors.c
+++ b/src/interface/pxe/pxe_errors.c
@@ -13,7 +13,7 @@
* followed by a little manual tweaking.
*
*/
-static struct errortab pxe_errortab[] __errortab = {
+struct errortab pxe_errortab[] __errortab = {
{ PXENV_STATUS_SUCCESS, "Success" },
{ PXENV_STATUS_FAILURE, "Failure" },
{ PXENV_STATUS_BAD_FUNC, "Bad function" },