From 832e86246b37c78466a5a30159bed48ed59eb811 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 24 Apr 2006 18:31:37 +0000 Subject: gcc is rather over-aggressive about optimising out static data structures even when __atribute__ (( unused )) is correctly set... --- src/interface/pxe/pxe_errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface/pxe/pxe_errors.c') 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" }, -- cgit v1.2.3-55-g7522